diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2020-11-01 17:28:43 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-01 15:54:14 -0800 |
commit | 0cce88f1e4b0ccbdc804db8b522aeb11b0f2b199 (patch) | |
tree | 6970a2c8908dbb743639805ca19024763ba07795 /t/t1407-worktree-ref-store.sh | |
parent | blame-options.txt: also mention 'funcname' in '-L' description (diff) | |
download | tgif-0cce88f1e4b0ccbdc804db8b522aeb11b0f2b199.tar.xz |
doc: add more pointers to gitattributes(5) for userdiff
Several Git commands can make use of the builtin userdiff patterns, but
it's not obvious in the documentation. Add pointers to the 'Defining a
custom hunk header' part of gitattributes(5) in the description of the
following options:
- the '--function-context' option of `git diff` and friends
- the '--function-context' option of `git grep`
- the '-L :<funcname>' option of `git log`, `gitk` and `git blame`
In 'git-grep.txt', take the opportunity to use backticks in the
description of '--show-function', and improve the wording of the
desription of '--function-context'.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1407-worktree-ref-store.sh')
0 files changed, 0 insertions, 0 deletions