summaryrefslogtreecommitdiff
path: root/merge-ort.c
diff options
context:
space:
mode:
authorLibravatar Luke Shumaker <lukeshu@datawire.io>2021-04-27 15:17:48 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-28 16:47:19 +0900
commit9a3e3ca2ba869f9fef9f8be390ed45457565ccd1 (patch)
treef706bbc65e766f8fd521522f1ff9c5d67be4d705 /merge-ort.c
parentsubtree: push: allow specifying a local rev other than HEAD (diff)
downloadtgif-9a3e3ca2ba869f9fef9f8be390ed45457565ccd1.tar.xz
subtree: be stricter about validating flags
Don't silently ignore a flag that's invalid for a given subcommand. The user expected it to do something; we should tell the user that they are mistaken, instead of surprising the user. It could be argued that this change might break existing users. I'd argue that those existing users are already broken, and they just don't know it. Let them know that they're broken. Signed-off-by: Luke Shumaker <lukeshu@datawire.io> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-ort.c')
0 files changed, 0 insertions, 0 deletions