git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Björn Gustavsson" <bgustavsson@gmail.com>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Andreas Gruenbacher <agruen@suse.de>,
	git@vger.kernel.org, bug-patch@gnu.org
Subject: Re: GNU patch: new 2.6 release
Date: Sun, 15 Nov 2009 15:02:20 +0100	[thread overview]
Message-ID: <6672d0160911150602r450ae91fl34f533a39e61ed7@mail.gmail.com> (raw)
In-Reply-To: <200911151437.56228.trast@student.ethz.ch>

2009/11/15 Thomas Rast <trast@student.ethz.ch>:
> Björn Gustavsson wrote:
>> That would be very useful in a workflow when you work in git (and have some
>> binary files in the repository), but need to commit your finished work
>> into another VCS (such as Clearcase).
>
> You can simply use git-apply in this case, it also works outside a git
> repository.

Thanks, I didn't know that. I just assumed that it used the index
or generally depended on being run in a git repository.

The patch program does one thing that git-apply does not --
it can check out the files to be patched (for systems that need
it, such as Clearcase or RCS). I will have to handle that myself
(but that is not hard, I can either use 'git diff --name-only' to find
out the file names or extract the names from the patch itself).

/Björn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB

      reply	other threads:[~2009-11-15 14:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-14  0:09 GNU patch: new 2.6 release Andreas Gruenbacher
2009-11-14  8:45 ` Björn Gustavsson
2009-11-14 10:17   ` Andreas Gruenbacher
2009-11-14 12:27     ` Björn Gustavsson
2009-11-15 13:37   ` Thomas Rast
2009-11-15 14:02     ` Björn Gustavsson [this message]

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=6672d0160911150602r450ae91fl34f533a39e61ed7@mail.gmail.com \
    --to=bgustavsson@gmail.com \
    --cc=agruen@suse.de \
    --cc=bug-patch@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=trast@student.ethz.ch \
    /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).