diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-13 13:28:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-13 13:28:54 -0800 |
commit | 6c3daa23461333c508c41faa532c6fb749cd0db0 (patch) | |
tree | 0d480e7fae2e4d975e317b22f99d668bac436fbe /Documentation/git-log.txt | |
parent | Merge branch 'bc/hash-algo' (diff) | |
parent | log: add option to choose which refs to decorate (diff) | |
download | tgif-6c3daa23461333c508c41faa532c6fb749cd0db0.tar.xz |
Merge branch 'ra/decorate-limit-refs'
The tagnames "git log --decorate" uses to annotate the commits can
now be limited to subset of available refs with the two additional
options, --decorate-refs[-exclude]=<pattern>.
* ra/decorate-limit-refs:
log: add option to choose which refs to decorate
Diffstat (limited to 'Documentation/git-log.txt')
-rw-r--r-- | Documentation/git-log.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 32246fdb00..5437f8b0f0 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -38,6 +38,13 @@ OPTIONS are shown as if 'short' were given, otherwise no ref names are shown. The default option is 'short'. +--decorate-refs=<pattern>:: +--decorate-refs-exclude=<pattern>:: + If no `--decorate-refs` is given, pretend as if all refs were + included. For each candidate, do not use it for decoration if it + matches any patterns given to `--decorate-refs-exclude` or if it + doesn't match any of the patterns given to `--decorate-refs`. + --source:: Print out the ref name given on the command line by which each commit was reached. |