chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2140880
)
branch_contains(): More explicit call to git rev-list
author
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 22:35:48 +0000
(
00:35
+0200)
committer
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 22:35:48 +0000
(
00:35
+0200)
tg.sh
patch
|
blob
|
history
diff --git
a/tg.sh
b/tg.sh
index 6c28467d8829f46d370c415d051ff453cf0e646c..084dc5446e0fdf9e7cd5eaa4675ab7e4d1d3c06e 100644
(file)
--- a/
tg.sh
+++ b/
tg.sh
@@
-77,7
+77,7
@@
measure_branch()
# Whether B1 is a superset of B2.
branch_contains()
{
- [ -z "$(git rev-list ^"$1" "$2")" ]
+ [ -z "$(git rev-list ^"$1" "$2"
--
)" ]
}
# ref_exists REF