summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorLibravatar Max Kirillov <max@max630.net>2017-09-20 04:10:10 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-20 13:30:10 +0900
commit6d68b2ab78cb670dd474dd61b1b2ec0a407cb9b8 (patch)
tree767e2c981f2f7fdef73c53eec910c53a3cad103a /upload-pack.c
parentMerge branch 'jk/describe-omit-some-refs' into mk/describe-match-with-all (diff)
downloadtgif-6d68b2ab78cb670dd474dd61b1b2ec0a407cb9b8.tar.xz
describe: teach --match to handle branches and remotes
When `git describe` uses `--match`, it matches only tags, basically ignoring the `--all` argument even when it is specified. Fix it by also matching branch name and $remote_name/$remote_branch_name, for remote-tracking references, with the specified patterns. Update documentation accordingly and add tests. Signed-off-by: Max Kirillov <max@max630.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions