summaryrefslogtreecommitdiff
path: root/tests/tstunt
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-27 21:28:39 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 12:17:08 +0100
commit0c838feda384f115a115ddd609eca9b8c6ece162 (patch)
tree8cb1c0e7bd98def61fd28851c6c461ecb02b5ce9 /tests/tstunt
parentc31626414fabe6a00ff9db901f69016d26400cb4 (diff)
git_get_ref: Move to Dgit.pm and reimplement
Use git for-each-ref --format=%(objectname) [r]efs/whatever This pattern won't match literally as a prefix because a ref name cannot contain [, so it must match according to fnmatch. whatever cannot contain fnmatch metacharacters because they're not valid in ref names. This is a better idiom because it might directly look up the ref in question (although currently it probably doesn't).
Diffstat (limited to 'tests/tstunt')
0 files changed, 0 insertions, 0 deletions