From d327b89a224e6d8db37ad97be1f8c0a54e380a29 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 3 Jun 2005 12:11:07 -0700 Subject: [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 Signed-off-by: Linus Torvalds diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index 6faf743..a6eaba7 100644 --- a/Documentation/tutorial.txt +++ b/Documentation/tutorial.txt @@ -371,13 +371,6 @@ this point (you can continue to edit things and update the cache), you can just leave an empty message. Otherwise git-commit-script will commit the change for you. -(Btw, current versions of git will consider the change in question to be -so big that it's considered a whole new file, since the diff is actually -bigger than the file. So the helpful comments that git-commit-script -tells you for this example will say that you deleted and re-created the -file "a". For a less contrived example, these things are usually more -obvious). - You've now made your first real git commit. And if you're interested in looking at what git-commit-script really does, feel free to investigate: it's a few very simple shell scripts to generate the helpful (?) commit -- cgit v0.10.2-6-g49f6