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

Re: Deleting binary file

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 9, 2006, 09:52 UTC
Message-ID
<eiutmq$ncp$1@sea.gmane.org>
In-Reply-To
<1d592d70611090147p6f10f921s740e3cc19cb67c09@mail.gmail.com>
Kirill Shutemov wrote:
Show 13 quoted lines
> Why can't I delete binary file via patch?
> 
>$ git-init-db
> defaulting to local storage area
>$ cp /bin/sh .
>$ git-add sh
>$ git-commit -m 'test'
> Committing initial tree efa3b1f9fdc4cdb8aab5bf869f580664a52ac04c
>$ git-rm sh
> rm 'sh'
>$ rm sh
>$ git-commit -m 'test'
>$ git-format-patch HEAD^
What happens if you use --binary option here?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Kirill ShutemovNext: Jakub Narebski
Message 2 of 3 in “Deleting binary file”
  1. Kirill ShutemovNov 9, 2006
  2. Jakub NarebskiNov 9, 2006
  3. Jakub NarebskiNov 9, 2006

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.