Merge branch 'sb/tutorial-test'
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Nov 2009 06:03:02 +0000 (22:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Nov 2009 06:03:02 +0000 (22:03 -0800)
* sb/tutorial-test:
t1200: prepare for merging with Fast-forward bikeshedding
t1200: further modernize test script style
t1200: Make documentation and test agree
t1200: cleanup and modernize test style

1  2 
Documentation/gitcore-tutorial.txt
index 253ef624eb98e202049b908f98143affa1c90014,7bdf0901dd39ac8bdca777c00005916f6df7074d..b7380b069ac35ed72f3673add60ce4566823b7aa
@@@ -185,7 -185,7 +185,7 @@@ object is. git will tell you that you h
  regular file), and you can see the contents with
  
  ----------------
- $ git cat-file "blob" 557db03
+ $ git cat-file blob 557db03
  ----------------
  
  which will print out "Hello World". The object `557db03` is nothing
@@@ -993,7 -993,7 +993,7 @@@ would be different
  
  ----------------
  Updating from ae3a2da... to a80b4aa....
 -Fast forward (no commit created; -m option ignored)
 +Fast-forward (no commit created; -m option ignored)
   example |    1 +
   hello   |    1 +
   2 files changed, 2 insertions(+), 0 deletions(-)
@@@ -1003,7 -1003,7 +1003,7 @@@ Because your branch did not contain any
  already been merged into the `master` branch, the merge operation did
  not actually do a merge. Instead, it just updated the top of
  the tree of your branch to that of the `master` branch. This is
 -often called 'fast forward' merge.
 +often called 'fast-forward' merge.
  
  You can run `gitk \--all` again to see how the commit ancestry
  looks like, or run 'show-branch', which tells you this.
@@@ -1188,7 -1188,7 +1188,7 @@@ $ git show-branc
  --
   + [mybranch] Some work.
  *  [master] Some fun.
- *+ [mybranch^] New day.
+ *+ [mybranch^] Initial commit
  ------------
  
  Now we are ready to experiment with the merge by hand.
@@@ -1204,11 -1204,11 +1204,11 @@@ $ mb=$(git merge-base HEAD mybranch
  The command writes the commit object name of the common ancestor
  to the standard output, so we captured its output to a variable,
  because we will be using it in the next step.  By the way, the common
- ancestor commit is the "New day." commit in this case.  You can
+ ancestor commit is the "Initial commit" commit in this case.  You can
  tell it by:
  
  ------------
- $ git name-rev $mb
+ $ git name-rev --name-only --tags $mb
  my-first-tag
  ------------
  
@@@ -1237,8 -1237,8 +1237,8 @@@ inspect the index file with this comman
  ------------
  $ git ls-files --stage
  100644 7f8b141b65fdcee47321e399a2598a235a032422 0     example
- 100644 263414f423d0e4d70dae8fe53fa34614ff3e2860 1     hello
- 100644 06fa6a24256dc7e560efa5687fa84b51f0263c3a 2     hello
+ 100644 557db03de997c86a4a028e1ebd3a1ceb225be238 1     hello
+ 100644 ba42a2a96e3027f3333e13ede4ccf4498c3ae942 2     hello
  100644 cc44c73eb783565da5831b4d820c962954019b69 3     hello
  ------------
  
@@@ -1253,8 -1253,8 +1253,8 @@@ To look at only non-zero stages, use `\
  
  ------------
  $ git ls-files --unmerged
- 100644 263414f423d0e4d70dae8fe53fa34614ff3e2860 1     hello
- 100644 06fa6a24256dc7e560efa5687fa84b51f0263c3a 2     hello
+ 100644 557db03de997c86a4a028e1ebd3a1ceb225be238 1     hello
+ 100644 ba42a2a96e3027f3333e13ede4ccf4498c3ae942 2     hello
  100644 cc44c73eb783565da5831b4d820c962954019b69 3     hello
  ------------
  
@@@ -1283,8 -1283,8 +1283,8 @@@ the working tree..  This can be seen i
  ------------
  $ git ls-files --stage
  100644 7f8b141b65fdcee47321e399a2598a235a032422 0     example
- 100644 263414f423d0e4d70dae8fe53fa34614ff3e2860 1     hello
- 100644 06fa6a24256dc7e560efa5687fa84b51f0263c3a 2     hello
+ 100644 557db03de997c86a4a028e1ebd3a1ceb225be238 1     hello
+ 100644 ba42a2a96e3027f3333e13ede4ccf4498c3ae942 2     hello
  100644 cc44c73eb783565da5831b4d820c962954019b69 3     hello
  ------------