[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: Applying patches in a directory that isn't a repository
From:       "Geoff Russell" <geoffrey.russell () gmail ! com>
Date:       2007-06-30 4:30:11
Message-ID: 93c3eada0706292118u2058553bj103ba707aa144d16 () mail ! gmail ! com
[Download RAW message or body]

On 6/29/07, Junio C Hamano <gitster@pobox.com> wrote:
> "Geoff Russell" <geoffrey.russell@gmail.com> writes:
>
> > But "git am" needs (AFAIK) a full repository. Is there a way to apply
> > a patch without
> > .git being present?
>
> If the recipient does not have a git repository, there is no
> point using "git am", as it is about making commits out of
> e-mails.
>
> git-apply acts as a plain "patch applicator".

For some reason I thought git-apply also needed a repository --- but it doesn't
and I've just tested it and, bingo, it is perfect for my needs. Many thanks.

Cheers,
Geoff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic