summaryrefslogtreecommitdiff
path: root/http-walker.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-03-02 08:23:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-02 19:05:04 (GMT)
commita356e8e2a724012c8120bfa69133b6118b1565f4 (patch)
tree7d0941a3f7b3c147a7415fe63f6ced65fc96570b /http-walker.c
parent0e9f62dab9fcce57279751bba47718d3f8baf3c8 (diff)
downloadgit-a356e8e2a724012c8120bfa69133b6118b1565f4.zip
git-a356e8e2a724012c8120bfa69133b6118b1565f4.tar.gz
git-a356e8e2a724012c8120bfa69133b6118b1565f4.tar.bz2
t3204: test git-branch @-expansion corner cases
git-branch feeds the branch names from the command line to strbuf_branchname(), but we do not yet tell that function which kinds of expansions should be allowed. Let's create a set of tests that cover both the allowed and disallowed cases. That shows off some breakages where we currently create or delete the wrong ref (and will make sure that we do not break any cases that _should_ be working when we do add more restrictions). Note that we check branch creation and deletion, but do not bother with renames. Those follow the same code path as creation. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-walker.c')
0 files changed, 0 insertions, 0 deletions