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

Re: Interaction between clean/smudge and git status

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Apr 14, 2008, 07:21 UTC
Message-ID
<48030607.60603@viscovery.net>
In-Reply-To
<7vej98apdo.fsf@gitster.siamese.dyndns.org>
Junio C Hamano schrieb:
Show 9 quoted lines
> Johannes Sixt <j.sixt@viscovery.net> writes:
>> I've observed this, too, and I don't think it is expected behavior. But it
>> hasn't annoyed me enough to look at it in depth. Eventually I will, and I
>> hope to find out what's wrong. ;)
> 
> Are you recreating the .zip file in the filter in such a way that a file
> with the same contents results in byte-to-byte identical .zip file?
> Otherwise as far as git is concerned you have changed the file in the work
> tree.

In my case, there is only a "clean" filter, and it rearranges the lines of a particular type of text files in a canonical way. Hmm, I can't reproduce the unwanted behavior in quick test now. I'll come back to this issue if it shows up again.

-- Hannes
Previous: Junio C HamanoNext: Sergio Callegari
Message 4 of 6 in “Interaction between clean/smudge and git status”
  1. Sergio CallegariApr 13, 2008
  2. Johannes SixtApr 14, 2008
  3. Junio C HamanoApr 14, 2008
  4. Johannes SixtApr 14, 2008
  5. Sergio CallegariApr 14, 2008
  6. Sergio CallegariApr 14, 2008

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.