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

Re: Tracking OpenOffice files/other compressed files with Git

From
Sergio Callegari <sergio.callegari@gmail.com>
Date
Sep 9, 2008, 11:07 UTC
Message-ID
<48C658DE.3070001@gmail.com>
In-Reply-To
<48C6569C.60000@viscovery.net>
> You don't need to smudge the OOo file on checkout iff OOo can read a file
> that is "compressed" at level 0.
>
>   

I will check again then, since my first attempt at this was not very successful and I think I was getting dirty files even cleaning only. But it was a long time ago right after clean was introduced.

But in any case it would be preferable to smudge on checkout since uncompressed OO files can be quite huge. Also to have uncompressed OO files in the worktree means that if you ever need to send one as an attachment to somebody you need to reopen and resave it before making the attachment, which is a bit uncomfortable!

Show 7 quoted lines
> A file that you have just 'git add'ed must not show up as dirty even if it
> was processed by a "clean" filter. If it does, then this indicates a bug
> in git, and not that a corresponding "smudge" filter is missing or
> misbehaves. Yes, I have observed this with my own "clean" filter some time
> ago, but I have not yet tried hard enough to find a reproducible test case.
>
>   

But am I correct in saying that it will show dirty if you clean and then smudge in a non symmetric way?

Sergio
Previous: Johannes SixtNext: Johannes Sixt
Message 6 of 9 in “Tracking OpenOffice files/other compressed files with Git”
  1. Peter KreftingSep 9, 2008
  2. Johannes SixtSep 9, 2008
  3. SergioSep 9, 2008
  4. Michael J GruberSep 9, 2008
  5. Johannes SixtSep 9, 2008
  6. Sergio CallegariSep 9, 2008
  7. Johannes SixtSep 9, 2008
  8. Mike HommeySep 9, 2008
  9. Matthieu MoySep 9, 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.