diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-21 14:24:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-21 09:32:34 -0700 |
commit | 2863584f5cf98c5f768e24f4841e3df14cbea59a (patch) | |
tree | 2b27392cd29da9c377e95510e065944bfc71c215 /builtin/log.c | |
parent | e635d5ceb7bb4e51d2121b74262ea8fffd5cda4e (diff) | |
download | git-2863584f5cf98c5f768e24f4841e3df14cbea59a.tar.gz git-2863584f5cf98c5f768e24f4841e3df14cbea59a.tar.xz |
sequencer: get rid of the subcommand field
The subcommands are used exactly once, at the very beginning of
sequencer_pick_revisions(), to determine what to do. This is an
unnecessary level of indirection: we can simply call the correct
function to begin with. So let's do that.
While at it, ensure that the subcommands return an error code so that
they do not have to die() all over the place (bad practice for library
functions...).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
0 files changed, 0 insertions, 0 deletions