Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
branch: introduce --list option
[gitweb.git]
/
t
/
t3203-branch-output.sh
diff --git
a/t/t3203-branch-output.sh
b/t/t3203-branch-output.sh
index 6b7c118e4fcbf3855318b2e9e3b721d07950fd25..97d10b1884d39cdef6efc9a0ce7384d7538ea366 100755
(executable)
--- a/
t/t3203-branch-output.sh
+++ b/
t/t3203-branch-output.sh
@@
-32,6
+32,11
@@
test_expect_success 'git branch shows local branches' '
test_cmp expect actual
'
+test_expect_success 'git branch --list shows local branches' '
+ git branch --list >actual &&
+ test_cmp expect actual
+'
+
cat >expect <<'EOF'
origin/HEAD -> origin/branch-one
origin/branch-one