diff options
author | Liam Beguin <liambeguin@gmail.com> | 2017-12-05 12:52:34 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-05 10:20:51 -0800 |
commit | d8ae6c84da52a210e84b3734bb93c575638236d3 (patch) | |
tree | 1754874ac9b537a7a5f542e82b43b67d6d160583 /sequencer.h | |
parent | 0cce4a2756eb2c66544615e5ccd74671afb33256 (diff) | |
download | git-d8ae6c84da52a210e84b3734bb93c575638236d3.tar.gz |
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 'sequencer.h')
-rw-r--r-- | sequencer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sequencer.h b/sequencer.h index 212426c445..81f6d7d393 100644 --- a/sequencer.h +++ b/sequencer.h @@ -47,6 +47,7 @@ int sequencer_remove_state(struct replay_opts *opts); #define TODO_LIST_KEEP_EMPTY (1U << 0) #define TODO_LIST_SHORTEN_IDS (1U << 1) +#define TODO_LIST_ABBREVIATE_CMDS (1U << 2) int sequencer_make_script(FILE *out, int argc, const char **argv, unsigned flags); |