diff options
author | Mike Lundy <mike@fluffypenguin.org> | 2019-06-03 18:19:09 -0700 |
---|---|---|
committer | Mike Lundy <mike@fluffypenguin.org> | 2019-06-04 09:25:06 -0700 |
commit | af3226f6522d5545c3aa546eb7c99ec131b38302 (patch) | |
tree | 7ed1e78a8a702d6b14e8b3713b8aedf8d7300878 /plumbing/object/commit_walker_bfs.go | |
parent | 37b80726760d2e0b17dfa437f3162dd930590ecf (diff) | |
download | go-git-af3226f6522d5545c3aa546eb7c99ec131b38302.tar.gz |
fix wildcard handling in RefSpec matching
1) The guard logic here was inverted, resulting in an always-false
branch, which meant that the suffix after the wildcard was
incorrectly ignored.
2) Wildcards were treated as 1-or-more matches, but git treats them as
0-or-more. This change aligns go-git with git, but represents a bit
of a breaking change for go-git.
Signed-off-by: Mike Lundy <mike@fluffypenguin.org>
Diffstat (limited to 'plumbing/object/commit_walker_bfs.go')
0 files changed, 0 insertions, 0 deletions