Skip to content

git-cat-file.txt: doc cleanup

Denton Liu git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Changes in v2 from the cover letter

* Drop 'i18n.txt: camel case and monospace "i18n.commitEncoding"' (it's already merged to 'master')

* Change "object ID of the object" to "object name"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2git-cat-file.txt: monospace args, placeholders and filenamesDocumentation/git-cat-file.txt+28 -280 replies
2/2git-cat-file.txt: remove references to "sha1"Documentation/git-cat-file.txt+6 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] git-cat-file.txt: doc cleanup

A couple of fixes that I've noticed in passing.

Changes since v1:

* Drop 'i18n.txt: camel case and monospace "i18n.commitEncoding"' (it's already merged to 'master')

* Change "object ID of the object" to "object name"

Denton Liu (2):
git-cat-file.txt: monospace args, placeholders and filenames git-cat-file.txt: remove references to "sha1"

 Documentation/git-cat-file.txt | 67 +++++++++++++++++-----------------
 1 file changed, 34 insertions(+), 33 deletions(-)

Range-diff against v1:

1:  cc48b12516 < -:  ---------- i18n.txt: camel case and monospace "i18n.commitEncoding"
2:  7dab69ce23 = 1:  6d044cf540 git-cat-file.txt: monospace args, placeholders and filenames
3:  4030a678b9 ! 2:  1b57fdad97 git-cat-file.txt: remove references to "sha1"

@@ Documentation/git-cat-file.txt: object, with placeholders of the form %(atom)

objectname::
- The 40-hex object name of the object.
-+ The full hex representation of the object ID of the object.
++ The full hex representation of the object name.

objecttype::
The type of the object (the same as cat-file -t reports).
@@ Documentation/git-cat-file.txt: newline. The available atoms are:
If the object is stored as a delta on-disk, this expands to the
- 40-hex sha1 of the delta base object. Otherwise, expands to the
- null sha1 (40 zeroes). See CAVEATS below.
-+ full hex representation of the object ID of the delta base
-+ object. Otherwise, expands to the null OID (all zeroes). See
-+ CAVEATS below.
++ full hex representation of the delta base object name.
++ Otherwise, expands to the null OID (all zeroes). See CAVEATS
++ below.

rest::
If this atom is used in the output string, input lines are split

Signature · 1 line
2.30.1.823.g0a3b79fd18