diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-08-17 15:50:05 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-17 15:50:05 -0700 |
| commit | 62ce3dcd676f24f3acbc69a4029f2a2f5cd75dc0 (patch) | |
| tree | da51952760046f70ee6df08c50cdfff0d72ff448 | |
| parent | Merge branch 'tl/notes-separator' (diff) | |
| parent | show-ref doc: fix carets in monospace (diff) | |
| download | git-62ce3dcd676f24f3acbc69a4029f2a2f5cd75dc0.tar.gz git-62ce3dcd676f24f3acbc69a4029f2a2f5cd75dc0.zip | |
Merge branch 'sa/doc-ls-remote'
Mark-up fix to documentation added during this cycle.
* sa/doc-ls-remote:
show-ref doc: fix carets in monospace
Diffstat (limited to '')
| -rw-r--r-- | Documentation/git-show-ref.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt index 44c7387d78..2fe274b8fa 100644 --- a/Documentation/git-show-ref.txt +++ b/Documentation/git-show-ref.txt @@ -47,7 +47,7 @@ OPTIONS -d:: --dereference:: - Dereference tags into object IDs as well. They will be shown with `{caret}{}` + Dereference tags into object IDs as well. They will be shown with `^{}` appended. -s:: @@ -78,7 +78,7 @@ OPTIONS Make `git show-ref` act as a filter that reads refs from stdin of the form `^(?:<anything>\s)?<refname>(?:\^{})?$` and performs the following actions on each: - (1) strip `{caret}{}` at the end of line if any; + (1) strip `^{}` at the end of line if any; (2) ignore if pattern is provided and does not head-match refname; (3) warn if refname is not a well-formed refname and skip; (4) ignore if refname is a ref that exists in the local repository; |
