summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-09-24 10:30:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-24 10:30:51 -0700
commitfaadedb19538a9968dd2d607bcab00be1916bd31 (patch)
tree8636f755fa6b929248d66075040e6b98a51e047b /t
parentMerge branch 'bw/protocol-v2' (diff)
parentadd: do not accept pathspec magic 'attr' (diff)
downloadtgif-faadedb19538a9968dd2d607bcab00be1916bd31.tar.xz
Merge branch 'nd/attr-pathspec-fix'
"git add ':(attr:foo)'" is not supported and is supposed to be rejected while the command line arguments are parsed, but we fail to reject such a command line upfront. * nd/attr-pathspec-fix: add: do not accept pathspec magic 'attr'
Diffstat (limited to 't')
-rwxr-xr-xt/t6135-pathspec-with-attrs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6135-pathspec-with-attrs.sh b/t/t6135-pathspec-with-attrs.sh
index 77b8cef661..e436a73962 100755
--- a/t/t6135-pathspec-with-attrs.sh
+++ b/t/t6135-pathspec-with-attrs.sh
@@ -166,7 +166,7 @@ test_expect_success 'fail if attr magic is used places not implemented' '
# though, but git-add is convenient as it has its own internal pathspec
# parsing.
test_must_fail git add ":(attr:labelB)" 2>actual &&
- test_i18ngrep "unsupported magic" actual
+ test_i18ngrep "magic not supported" actual
'
test_expect_success 'abort on giving invalid label on the command line' '