summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-11-05 20:18:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-11-05 20:18:12 (GMT)
commita878e7e62b4826a95effa1420cff47807f9cb88b (patch)
tree15594eb261507877e60e1a35a4b62371b270f90d /t
parent5e6154fb145d66af36e10ef4db7e1d1e9502c501 (diff)
parent29abb33978f713cd0a5cc3687bf61077b0928840 (diff)
downloadgit-a878e7e62b4826a95effa1420cff47807f9cb88b.zip
git-a878e7e62b4826a95effa1420cff47807f9cb88b.tar.gz
git-a878e7e62b4826a95effa1420cff47807f9cb88b.tar.bz2
Merge branch 'jc/add-u-A-default-to-top' into maint
"git --literal-pathspecs add -u/-A" without any command line argument misbehaved ever since Git 2.0. * jc/add-u-A-default-to-top: add: simplify -u/-A without pathspec
Diffstat (limited to 't')
-rwxr-xr-xt/t2200-add-update.sh2
-rwxr-xr-xt/t2202-add-addremove.sh1
2 files changed, 3 insertions, 0 deletions
diff --git a/t/t2200-add-update.sh b/t/t2200-add-update.sh
index e16b15d..314c73c 100755
--- a/t/t2200-add-update.sh
+++ b/t/t2200-add-update.sh
@@ -84,6 +84,8 @@ test_expect_success 'non-qualified update in subdir updates from the root' '
(
cd dir1 &&
echo even more >>sub2 &&
+ git --literal-pathspecs add -u &&
+ echo even more >>sub2 &&
git add -u
) &&
: >expect &&
diff --git a/t/t2202-add-addremove.sh b/t/t2202-add-addremove.sh
index fc8b59e..6a5a316 100755
--- a/t/t2202-add-addremove.sh
+++ b/t/t2202-add-addremove.sh
@@ -14,6 +14,7 @@ test_expect_success setup '
echo expect
echo ignored
) >.gitignore &&
+ git --literal-pathspecs add --all &&
>will-remove &&
git add --all &&
test_tick &&