summaryrefslogtreecommitdiff
path: root/t/t3201-branch-contains.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-08-29 11:25:45 -0400
committerLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2019-12-04 13:20:04 +0100
commit11e934d56e46875b24d8a047d44b45ff243f6715 (patch)
tree2e5e57ac730e9a0e75ec8b749a5151214ba04208 /t/t3201-branch-contains.sh
parentt9300: create marks files for double-import-marks test (diff)
downloadtgif-11e934d56e46875b24d8a047d44b45ff243f6715.tar.xz
fast-import: tighten parsing of boolean command line options
We parse options like "--max-pack-size=" using skip_prefix(), which makes sense to get at the bytes after the "=". However, we also parse "--quiet" and "--stats" with skip_prefix(), which allows things like "--quiet-nonsense" to behave like "--quiet". This was a mistaken conversion in 0f6927c229 (fast-import: put option parsing code in separate functions, 2009-12-04). Let's tighten this to an exact match, which was the original intent. Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t3201-branch-contains.sh')
0 files changed, 0 insertions, 0 deletions