git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: Deleting binary file
Date: Thu, 09 Nov 2006 10:52:17 +0100	[thread overview]
Message-ID: <eiutmq$ncp$1@sea.gmane.org> (raw)
In-Reply-To: 1d592d70611090147p6f10f921s740e3cc19cb67c09@mail.gmail.com

Kirill Shutemov wrote:

> 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


  reply	other threads:[~2006-11-09  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-09  9:47 Deleting binary file Kirill Shutemov
2006-11-09  9:52 ` Jakub Narebski [this message]
2006-11-09 11:10 ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='eiutmq$ncp$1@sea.gmane.org' \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).