Re: Applying patches in a directory that isn't a repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/29/07, Junio C Hamano <gitster@xxxxxxxxx> wrote:
"Geoff Russell" <geoffrey.russell@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux