From 58d5690f5a0e706e2ea8b899819d0c3db22f4793 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Apr 2018 17:02:01 +0200 Subject: Document default and excluding git ref filters --- bpkg/fetch-git.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bpkg/fetch-git.cxx') 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. // -- cgit v1.1