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

Re: .git/binary

From
Philip Oakley <philipoakley@iee.email>
Date
Oct 25, 2019, 15:10 UTC
Message-ID
<b9e29a2f-494b-eebc-a3ee-2a2ed4967d7e@iee.email>
In-Reply-To
<22757761571993594@vla1-d97dbca235a9.qloud-c.yandex.net>

Hi zvezdochiot, On 25/10/2019 09:53, без имени wrote:

> Is it possible to add a `.git/binary` configuration file like` .gitignore` to the `git` system with a list of files stored in a single (current) state.
>

Have you looked at the `git help attributes`? In particular the example

*.jpg		-text
Where the '-text' says no end of lines for conversion (i.e. binary!)
Or were you thinking of some other meaning for "files stored in a single (current) state"?
-- 
Philip
Previous: без имениNext: без имени
Message 2 of 8 in “.git/binary”
  1. без имениOct 25, 2019
  2. Philip OakleyOct 25, 2019
  3. без имениOct 25, 2019
  4. Pratyush YadavOct 25, 2019
  5. без имениOct 25, 2019
  6. без имениOct 25, 2019
  7. Philip OakleyOct 25, 2019
  8. без имениOct 25, 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.