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

Re: [PATCH v2 2/3] blame,cat-file: Demonstrate --textconv is wrongly running converter on symlinks

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 20, 2010, 21:13 UTC
Message-ID
<vpqvd6086fq.fsf@bauges.imag.fr>
In-Reply-To
<3c344d9b8f014ccb96dc37dc42668426fb5a3c30.1285013802.git.kirr@landau.phys.spbu.ru>
Kirill Smelkov <kirr@landau.phys.spbu.ru> writes:
> (Description partly by Matthieu Moy)
Better put such statements at the end, to avoid distracting the reader.
> ~~~~
>
> NOTE: git diff doesn't try to textconv the pathnames, it runs the
> textual diff without textconv, which is the expected behavior.

It's not clear whether this is intended to stay in the commit message. If not, it should go below the ---. If yes, then I'd incorporate this into the message itself. The ~~~~ and NOTE look odd.

For example (in next patch):
| Instead get the mode from either worktree, index, .git, or origin
| entries when blaming and pass it to textconv_object() as context.
| 
| The reason to do it is not to run textconv filters on symlinks
+ (just like "git diff" already does).
Anyway, I'm bikeshedding. With or without these remarks,
Reviewed-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Kirill SmelkovNext: Kirill Smelkov
Message 4 of 9 in “Fix {blame,cat-file} --textconv for cases with symlinks”
  1. 0/3 Fix {blame,cat-file} --textconv for cases with symlinksKirill Smelkov, Sep 20, 2010
  2. 1/3 tests: Prepare --textconv tests for correctly-failing conversion programKirill Smelkov, Sep 20, 2010
  3. 2/3 blame,cat-file: Demonstrate --textconv is wrongly running converter on symlinksKirill Smelkov, Sep 20, 2010
  4. Matthieu MoySep 20, 2010
  5. Kirill SmelkovSep 21, 2010
  6. Matthieu MoySep 21, 2010
  7. Jeff KingSep 21, 2010
  8. Kirill SmelkovSep 24, 2010
  9. 3/3 blame,cat-file --textconv: Don't assume mode is ``S_IFREF | 0664''Kirill Smelkov, Sep 20, 2010

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.