chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
autopkgtests: fixes
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index 1d2d06ade6fd4a6fa1857b2d4360822c92eb4139..94c4c7969ba0702e5a3bd6ff03beef9ee3ad683b 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-103,7
+103,7
@@
t-clean-on-branch () {
t-git-get-ref () {
local ref=$1
- git
-
show-ref -d $1 | perl -ne '
+ git
show-ref -d $1 | perl -ne '
$x = $1 if m#^(\w+) \Q'$1'\E(?:\^\{\})?$#;
END { print "$x\n" if length $x; }
'