Skip to content

Commit

Permalink
Documentation: sync example output with git output
Browse files Browse the repository at this point in the history
Don't confuse the user with old git messages.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Markus Heidelberg authored and Junio C Hamano committed Dec 19, 2008
1 parent 0956a6d commit ec9f0ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion Documentation/git-checkout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ the `-m` option, you would see something like this:
------------
$ git checkout -m mytopic
Auto-merging frotz
merge: warning: conflicts during merge
ERROR: Merge conflict in frotz
fatal: merge program failed
------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-reset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Undo a merge or pull::
$ git pull <1>
Auto-merging nitfol
CONFLICT (content): Merge conflict in nitfol
Automatic merge failed/prevented; fix up by hand
Automatic merge failed; fix conflicts and then commit the result.
$ git reset --hard <2>
$ git pull . topic/branch <3>
Updating from 41223... to 13134...
Expand Down
11 changes: 5 additions & 6 deletions Documentation/gitcore-tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ file, which had no differences in the `mybranch` branch), and say:
----------------
Auto-merging hello
CONFLICT (content): Merge conflict in hello
Automatic merge failed; fix up by hand
Automatic merge failed; fix conflicts and then commit the result.
----------------

It tells you that it did an "Automatic merge", which
Expand Down Expand Up @@ -993,7 +993,7 @@ would be different)

----------------
Updating from ae3a2da... to a80b4aa....
Fast forward
Fast forward (no commit created; -m option ignored)
example | 1 +
hello | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
Expand Down Expand Up @@ -1265,9 +1265,8 @@ file, using 3-way merge. This is done by giving

------------
$ git merge-index git-merge-one-file hello
Auto-merging hello.
merge: warning: conflicts during merge
ERROR: Merge conflict in hello.
Auto-merging hello
ERROR: Merge conflict in hello
fatal: merge program failed
------------

Expand Down Expand Up @@ -1447,7 +1446,7 @@ public repository you might want to repack & prune often, or
never.

If you run `git repack` again at this point, it will say
"Nothing to pack". Once you continue your development and
"Nothing new to pack.". Once you continue your development and
accumulate the changes, running `git repack` again will create a
new pack, that contains objects created since you packed your
repository the last time. We recommend that you pack your project
Expand Down
6 changes: 3 additions & 3 deletions Documentation/pretty-formats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This is designed to be as compact as possible.

commit <sha1>
Author: <author>
Date: <author date>
Date: <author date>

<title line>

Expand All @@ -49,9 +49,9 @@ This is designed to be as compact as possible.
* 'fuller'

commit <sha1>
Author: <author>
Author: <author>
AuthorDate: <author date>
Commit: <committer>
Commit: <committer>
CommitDate: <committer date>

<title line>
Expand Down

0 comments on commit ec9f0ea

Please sign in to comment.