Skip to contentSkip to conversation

merge-options.txt: Clarify merge --squash

PATCH In review Michael J Gruber 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
I think this kind of fell under the rug back then when it was discussed
(http://permalink.gmane.org/gmane.comp.version-control.git/119185).
So I'm resending it.

Cheers,
Michael

 Documentation/merge-options.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Documentation/merge-options.txt +2 -1
index 637b53f..adadf8e 100644
@@ -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
Signature · 1 line
1.6.3.1.241.g24356