git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 20, 2019, 21:53 UTC
Message-ID
<20190520215312.10363-1-avarab@gmail.com>

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(-)
-- 
2.21.0.1020.gf2820cf01a
Next: Ævar Arnfjörð Bjarmason
Message 1 of 12 in “hash-object doc: small fixes”
  1. 0/3 hash-object doc: small fixesÆvar Arnfjörð Bjarmason, May 20, 2019
  2. 1/3 hash-object doc: stop mentioning git-cvsimportÆvar Arnfjörð Bjarmason, May 20, 2019
  3. Jeff KingMay 22, 2019
  4. 2/3 hash-object doc: elaborate on -w and --literally promisesÆvar Arnfjörð Bjarmason, May 20, 2019
  5. Jeff KingMay 22, 2019
  6. Jakub NarebskiMay 24, 2019
  7. Ævar Arnfjörð BjarmasonMay 24, 2019
  8. Jeff KingMay 28, 2019
  9. Junio C HamanoMay 28, 2019
  10. Junio C HamanoMay 28, 2019
  11. 3/3 hash-object doc: point to ls-files and rev-parseÆvar Arnfjörð Bjarmason, May 20, 2019
  12. Jeff KingMay 22, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.