diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-07-14 00:54:53 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-14 00:54:54 +0300 |
commit | 33f448b5fc916e6be266b857617a3b27a467da81 (patch) | |
tree | c7d5504ddc69cea5ffb8b9b36ad67a0f014846a0 /remote.c | |
parent | 6fccbdaa51376494fbcfbe75ad2cd75e0c7cead6 (diff) | |
parent | 2c80a82e34311b7363ec99c3034a2f2711704c7f (diff) |
Merge branch 'jk/remote-show-with-negative-refspecs'
"git remote show [-n] frotz" now pays attention to negative
pathspec.
* jk/remote-show-with-negative-refspecs:
remote: handle negative refspecs in git remote show
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -850,7 +850,7 @@ static int refspec_match(const struct refspec_item *refspec, return !strcmp(refspec->src, name); } -static int omit_name_by_refspec(const char *name, struct refspec *rs) +int omit_name_by_refspec(const char *name, struct refspec *rs) { int i; |