Skip to content

Commit d327b89

Browse files
Junio C HamanoLinus Torvalds
authored andcommitted
[PATCH] Tutorial update to adjust for -B fix
Now -B does not say silly "complete rewrite" anymore for small files such as the one in the tutorial example. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 2210100 commit d327b89

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Documentation/tutorial.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,6 @@ this point (you can continue to edit things and update the cache), you
371371
can just leave an empty message. Otherwise git-commit-script will commit
372372
the change for you.
373373

374-
(Btw, current versions of git will consider the change in question to be
375-
so big that it's considered a whole new file, since the diff is actually
376-
bigger than the file. So the helpful comments that git-commit-script
377-
tells you for this example will say that you deleted and re-created the
378-
file "a". For a less contrived example, these things are usually more
379-
obvious).
380-
381374
You've now made your first real git commit. And if you're interested in
382375
looking at what git-commit-script really does, feel free to investigate:
383376
it's a few very simple shell scripts to generate the helpful (?) commit

0 commit comments

Comments
 (0)