diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-21 14:24:37 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-10-21 09:32:34 -0700 |
| commit | 3975596482b15defec2b7aff19207df18493475e (patch) | |
| tree | 62bad5ac5edb509d39ef636794b9185c7d1e945f /builtin/commit.c | |
| parent | sequencer: future-proof read_populate_todo() (diff) | |
| download | git-3975596482b15defec2b7aff19207df18493475e.tar.gz git-3975596482b15defec2b7aff19207df18493475e.zip | |
sequencer: refactor the code to obtain a short commit name
Not only does this DRY up the code (providing a better documentation what
the code is about, as well as allowing to change the behavior in a single
place), it also makes it substantially shorter to use the same
functionality in functions to be introduced when we teach the sequencer to
process interactive-rebase's git-rebase-todo file.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
