aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/merge-options.txt
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2009-05-25 18:00:10 +0200
committerJunio C Hamano <gitster@pobox.com>2009-05-25 11:23:18 -0700
commitf5d4c4d0f19084a2d48f55f2f42cac25696a34f5 (patch)
tree63ce883e484cf53825ed061442db4a7c18f042f8 /Documentation/merge-options.txt
parentf5b223abfdc01455d42ed005b4fd9330b06c2967 (diff)
downloadgit-f5d4c4d0f19084a2d48f55f2f42cac25696a34f5.tar.gz
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/merge-options.txt')
-rw-r--r--Documentation/merge-options.txt3
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