summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorLibravatar Pierre Habouzit <madcoder@debian.org>2007-12-24 12:18:22 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-12-26 15:59:31 -0800
commita2cf9f445e9074df1a45f5179cef0d4bb8647dd8 (patch)
tree77e5e5b8af0a862303c046a3becabbba62a3e6b3 /git-pull.sh
parentgit-describe: Add a --match option to limit considered tags. (diff)
downloadtgif-a2cf9f445e9074df1a45f5179cef0d4bb8647dd8.tar.xz
git-name-rev: add a --(no-)undefined option.
Rework get_rev_name to return NULL rather than "undefined" when a reference is undefined. If --undefined is passed (default), git-name-rev prints "undefined" for the name, else it die()s. Make git-describe use --no-undefined when calling git-name-rev so that --contains behavior matches the standard git-describe one. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-pull.sh')
0 files changed, 0 insertions, 0 deletions