summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2009-05-25 16:00:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-25 18:23:18 (GMT)
commitf5d4c4d0f19084a2d48f55f2f42cac25696a34f5 (patch)
tree63ce883e484cf53825ed061442db4a7c18f042f8 /Documentation
parentf5b223abfdc01455d42ed005b4fd9330b06c2967 (diff)
downloadgit-f5d4c4d0f19084a2d48f55f2f42cac25696a34f5.zip
git-f5d4c4d0f19084a2d48f55f2f42cac25696a34f5.tar.gz
git-f5d4c4d0f19084a2d48f55f2f42cac25696a34f5.tar.bz2
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.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt
index 637b53f..adadf8e 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