diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2009-05-25 18:00:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-25 11:23:18 -0700 |
commit | f5d4c4d0f19084a2d48f55f2f42cac25696a34f5 (patch) | |
tree | 63ce883e484cf53825ed061442db4a7c18f042f8 | |
parent | Merge branch 'maint-1.6.2' into maint (diff) | |
download | tgif-f5d4c4d0f19084a2d48f55f2f42cac25696a34f5.tar.xz |
merge-options.txt: Clarify merge --squash
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>
-rw-r--r-- | Documentation/merge-options.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt index 637b53f898..adadf8e4bf 100644 --- a/Documentation/merge-options.txt +++ b/Documentation/merge-options.txt @@ -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 |