summaryrefslogtreecommitdiff
path: root/t/t1400-update-ref.sh
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-04-27 15:54:45 +0200
committerMichael Haggerty <mhagger@alum.mit.edu>2016-06-13 11:23:50 +0200
commit8a679de6f1a4bd077f828273f75eea46947b5b73 (patch)
tree6118cd062c55624af049c0acef390a6bd62ad16d /t/t1400-update-ref.sh
parent8415d24746b97a479fe5aec9845bfc150cda2d14 (diff)
downloadgit-8a679de6f1a4bd077f828273f75eea46947b5b73.tar.gz
ref_transaction_update(): check refname_is_safe() at a minimum
If the user has asked that a new value be set for a reference, we use check_refname_format() to verify that the reference name satisfies all of the rules. But in other cases, at least check that refname_is_safe(). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 't/t1400-update-ref.sh')
-rwxr-xr-xt/t1400-update-ref.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1400-update-ref.sh b/t/t1400-update-ref.sh
index 40b0ccedfc..08bd8fd8d6 100755
--- a/t/t1400-update-ref.sh
+++ b/t/t1400-update-ref.sh
@@ -23,7 +23,7 @@ test_expect_success setup '
m=refs/heads/master
n_dir=refs/heads/gu
n=$n_dir/fixes
-outside=foo
+outside=refs/foo
test_expect_success \
"create $m" \