summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index ee4bfd0..1d189a9 100644
--- a/tests/lib
+++ b/tests/lib
@@ -188,6 +188,8 @@ t-git-merge-base () {
}
t-has-ancestor () {
+ # t-has-ancestor ANCESTOR
+ # (CHILD is implicit, HEAD)
local now=`git rev-parse HEAD`
local ancestor=`git rev-parse $1^{}`
local mbase=`t-git-merge-base $ancestor $now`