aboutsummaryrefslogtreecommitdiff
path: root/bpkg/fetch-git.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/fetch-git.cxx')
-rw-r--r--bpkg/fetch-git.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx
index 9991075..019346c 100644
--- a/bpkg/fetch-git.cxx
+++ b/bpkg/fetch-git.cxx
@@ -589,6 +589,13 @@ namespace bpkg
// tags/v1.2.3? Note that while it most likely is relative to refs/, it
// can also be relative to other subdirectories (say releases/v1.2.3 in
// tags/releases/v1.2.3). So we just check everywhere.
+ //
+ // Unless it is an absolute path, in which case we anchor it to refs/.
+ //
+
+ //@@ I think for patterns (and probably non-patters) we should search
+ // in all instead of the first found. Except for commit id -- I
+ // think we should skip it if pattern or if found.
// This handles symbolic references like HEAD.
//