summaryrefslogtreecommitdiff
path: root/sideband.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-03-23 17:07:11 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-27 13:54:19 -0700
commit789b3effec89e6f336726de109eb8be9dc60b7a5 (patch)
tree43dbbaf998ebb7db776a55f2d19e017bc2cdc9bc /sideband.c
parentt7504: document regression: reword no longer calls commit-msg (diff)
downloadtgif-789b3effec89e6f336726de109eb8be9dc60b7a5.tar.xz
sequencer: make commit options more extensible
So far every time we need to tweak the behaviour of run_git_commit() we have been adding a "int" parameter to it. As the function gains parameters and different callsites having different needs, this is becoming a maintenance burden. When a new knob needs to be added to address a specific need for a single callsite, all the other callsites need to add a "no, I do not want anything special with respect to the new knob" argument. Consolidate the existing four parameters into a flag word to make it more maintainable, as we will be adding a new one to the mix soon. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sideband.c')
0 files changed, 0 insertions, 0 deletions