summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2017-12-05 17:52:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-05 18:20:51 (GMT)
commitd8ae6c84da52a210e84b3734bb93c575638236d3 (patch)
tree1754874ac9b537a7a5f542e82b43b67d6d160583 /Documentation
parent0cce4a2756eb2c66544615e5ccd74671afb33256 (diff)
downloadgit-d8ae6c84da52a210e84b3734bb93c575638236d3.zip
git-d8ae6c84da52a210e84b3734bb93c575638236d3.tar.gz
git-d8ae6c84da52a210e84b3734bb93c575638236d3.tar.bz2
rebase -i: learn to abbreviate command names
`git rebase -i` already know how to interpret single-letter command names. Teach it to generate the todo list with these same abbreviated names. Based-on-patch-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Liam Beguin <liambeguin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/rebase-config.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/rebase-config.txt b/Documentation/rebase-config.txt
index 30ae08c..42e1ba7 100644
--- a/Documentation/rebase-config.txt
+++ b/Documentation/rebase-config.txt
@@ -30,3 +30,23 @@ rebase.instructionFormat::
A format string, as specified in linkgit:git-log[1], to be used for the
todo list during an interactive rebase. The format will
automatically have the long commit hash prepended to the format.
+
+rebase.abbreviateCommands::
+ If set to true, `git rebase` will use abbreviated command names in the
+ todo list resulting in something like this:
++
+-------------------------------------------
+ p deadbee The oneline of the commit
+ p fa1afe1 The oneline of the next commit
+ ...
+-------------------------------------------
++
+instead of:
++
+-------------------------------------------
+ pick deadbee The oneline of the commit
+ pick fa1afe1 The oneline of the next commit
+ ...
+-------------------------------------------
++
+Defaults to false.