]> rtime.felk.cvut.cz Git - git.git/commitdiff
merge-options.txt: Clarify merge --squash
authorMichael J Gruber <git@drmicha.warpmail.net>
Mon, 25 May 2009 16:00:10 +0000 (18:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2009 18:23:18 +0000 (11:23 -0700)
With the --squash option, merge sets up the index just like for a real
merge, but without the merge info (stages). Say so.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/merge-options.txt

index 637b53f898829af98153d60953434fa30e3df179..adadf8e4bf309a2fd2ec8efbeff09b410ca7b041 100644 (file)
@@ -39,7 +39,8 @@
 
 --squash::
        Produce the working tree and index state as if a real
-       merge happened, but do not actually make a commit or
+       merge happened (except for the merge information),
+       but do not actually make a commit or
        move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to
        cause the next `git commit` command to create a merge
        commit.  This allows you to create a single commit on