diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2009-05-25 20:00:10 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-25 22:23:18 +0400 |
commit | f5d4c4d0f19084a2d48f55f2f42cac25696a34f5 (patch) | |
tree | 63ce883e484cf53825ed061442db4a7c18f042f8 /Documentation | |
parent | f5b223abfdc01455d42ed005b4fd9330b06c2967 (diff) |
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>
Diffstat (limited to 'Documentation')
-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 |