summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-10-21 12:24:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-10-21 16:32:34 (GMT)
commit2863584f5cf98c5f768e24f4841e3df14cbea59a (patch)
tree2b27392cd29da9c377e95510e065944bfc71c215 /version.h
parente635d5ceb7bb4e51d2121b74262ea8fffd5cda4e (diff)
downloadgit-2863584f5cf98c5f768e24f4841e3df14cbea59a.zip
git-2863584f5cf98c5f768e24f4841e3df14cbea59a.tar.gz
git-2863584f5cf98c5f768e24f4841e3df14cbea59a.tar.bz2
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 'version.h')
0 files changed, 0 insertions, 0 deletions