Re: [StGit PATCH] add option to import series directly from a tar archive

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

 



On 2008-09-12 14:21:13 +0200, Samuel Tardieu wrote:

> Two things that would be great would be:
>
>   - to be able to import patches with "-p0" (people not using git
>     often sends such patches)

This should be trivial to implement, since git-apply (pardon the dash)
has a -p flag with precisely this meaning.

>   - to be able to find where the patch should be applied; I
>     sometimes receive patches for GCC directory "gcc/ada/", diffed
>     from there, and if StGit could see that the patch only makes
>     sense there and not at the top-level it would be great as well

I don't believe git-apply can do this (please correct me if I'm
wrong), and the right way to teach StGit to do it would arguably be to
teach it to git-apply and then make StGit use it. It'd be _possible_
to do it directly in StGit, but it wouldn't be quite the right level,
and git users wouldn't benefit.

-- 
Karl Hasselström, kha@xxxxxxxxxxx
      www.treskal.com/kalle
--
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