diff options
author | Pratik Karki <predatoramigo@gmail.com> | 2018-08-08 21:21:34 +0545 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-11 14:16:05 +0900 |
commit | 3dba9d08842226483c2d146e6dd37a6bfd27914e (patch) | |
tree | a1937bee1569a0b78de061191550a6e155844ee6 /ref-filter.c | |
parent | builtin rebase: show progress when connected to a terminal (diff) | |
download | tgif-3dba9d08842226483c2d146e6dd37a6bfd27914e.tar.xz |
builtin rebase: use no-op editor when interactive is "implied"
Some options are only handled by the git-rebase--interactive backend,
even if run non-interactively. For this awkward situation (run
non-interactively, but use the interactive backend), the shell scripted
version of `git rebase` introduced the concept of an "implied
interactive rebase". All it does is to replace the editor by a dummy one
(`:` is the Unix command that takes arbitrary command-line parameters,
ignores them and simply exits with success).
Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
0 files changed, 0 insertions, 0 deletions