Skip to content

hash-object doc: small fixes

Ævar Arnfjörð Bjarmason git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hash-object doc: stop mentioning git-cvsimportDocumentation/git-hash-object.txt+1 -31 reply
2/3hash-object doc: elaborate on -w and --literally promisesDocumentation/git-hash-object.txt+9 -26 replies
3/3hash-object doc: point to ls-files and rev-parseDocumentation/git-hash-object.txt+7 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] hash-object doc: small fixes

Small doc fixes. Maybe trivial enough to land in 2.22, but there's no rush.

A pair of #leftoverbits I noticed is that we've implemented the "--stdin-paths" option via unquote_c_style() from day one, so our current docs lie (and still do with this series) about wanting \n-delimited files, you can't hash a file called '"foo"' as you'd expect, you need to pass '"\"foo\""'.

I wonder if we should document this at this point, or just change it and add a "-z" option. None of our tests fail if I remove this unquote_c_style() codepath, and it's never been documented, but someone in the wild may have organically depended on it.

Ævar Arnfjörð Bjarmason (3):
hash-object doc: stop mentioning git-cvsimport hash-object doc: elaborate on -w and --literally promises hash-object doc: point to ls-files and rev-parse

 Documentation/git-hash-object.txt | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Signature · 1 line
2.21.0.1020.gf2820cf01a