summaryrefslogtreecommitdiff
path: root/builtin/rev-list.c
diff options
context:
space:
mode:
authorLibravatar Pratik Karki <predatoramigo@gmail.com>2018-09-04 14:27:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-06 11:55:42 -0700
commitf28d40d3a999f99662a7df1363fc7bec9f18a52d (patch)
treed891d62926c9a3d767fe4585483be8d13ceed139 /builtin/rev-list.c
parentbuiltin/rebase: support running "git rebase <upstream>" (diff)
downloadtgif-f28d40d3a999f99662a7df1363fc7bec9f18a52d.tar.xz
builtin rebase: support --onto
The `--onto` option is important, as it allows to rebase a range of commits onto a different base commit (which gave the command its odd name: "rebase"). This commit introduces options parsing so that different options can be added in future commits. Note: As this commit introduces to the parse_options() call (which "eats" argv[0]), the argc is now expected to be lower by one after this patch, compared to before this patch: argv[0] no longer refers to the command name, but to the first (non-option) command-line parameter. Signed-off-by: Pratik Karki <predatoramigo@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rev-list.c')
0 files changed, 0 insertions, 0 deletions