aboutsummaryrefslogtreecommitdiff
path: root/bpkg/fetch-git.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-27 17:02:01 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-02 11:41:23 +0300
commit58d5690f5a0e706e2ea8b899819d0c3db22f4793 (patch)
treefaa791700804648f1acf134ffd2333c1bc01dede /bpkg/fetch-git.cxx
parent4783c74e0741df5ce403b857caf98c0f3917cd77 (diff)
Document default and excluding git ref filters
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.
//