Skip to content

Commit ec9f0ea

Browse files
marcowsgitster
authored andcommitted
Documentation: sync example output with git output
Don't confuse the user with old git messages. Signed-off-by: Markus Heidelberg <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0956a6d commit ec9f0ea

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

Documentation/git-checkout.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ the `-m` option, you would see something like this:
232232
------------
233233
$ git checkout -m mytopic
234234
Auto-merging frotz
235-
merge: warning: conflicts during merge
236235
ERROR: Merge conflict in frotz
237236
fatal: merge program failed
238237
------------

Documentation/git-reset.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Undo a merge or pull::
130130
$ git pull <1>
131131
Auto-merging nitfol
132132
CONFLICT (content): Merge conflict in nitfol
133-
Automatic merge failed/prevented; fix up by hand
133+
Automatic merge failed; fix conflicts and then commit the result.
134134
$ git reset --hard <2>
135135
$ git pull . topic/branch <3>
136136
Updating from 41223... to 13134...

Documentation/gitcore-tutorial.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ file, which had no differences in the `mybranch` branch), and say:
899899
----------------
900900
Auto-merging hello
901901
CONFLICT (content): Merge conflict in hello
902-
Automatic merge failed; fix up by hand
902+
Automatic merge failed; fix conflicts and then commit the result.
903903
----------------
904904

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

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

12661266
------------
12671267
$ git merge-index git-merge-one-file hello
1268-
Auto-merging hello.
1269-
merge: warning: conflicts during merge
1270-
ERROR: Merge conflict in hello.
1268+
Auto-merging hello
1269+
ERROR: Merge conflict in hello
12711270
fatal: merge program failed
12721271
------------
12731272

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

14491448
If you run `git repack` again at this point, it will say
1450-
"Nothing to pack". Once you continue your development and
1449+
"Nothing new to pack.". Once you continue your development and
14511450
accumulate the changes, running `git repack` again will create a
14521451
new pack, that contains objects created since you packed your
14531452
repository the last time. We recommend that you pack your project

Documentation/pretty-formats.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This is designed to be as compact as possible.
3030

3131
commit <sha1>
3232
Author: <author>
33-
Date: <author date>
33+
Date: <author date>
3434

3535
<title line>
3636

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

5151
commit <sha1>
52-
Author: <author>
52+
Author: <author>
5353
AuthorDate: <author date>
54-
Commit: <committer>
54+
Commit: <committer>
5555
CommitDate: <committer date>
5656

5757
<title line>

0 commit comments

Comments
 (0)