Re: How to split a patch

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

 



Hi,

On Mon, 28 Jan 2008, Junio C Hamano wrote:

> Matthieu Moy <Matthieu.Moy@xxxxxxx> writes:
> 
> > "Paolo Ciarrocchi" <paolo.ciarrocchi@xxxxxxxxx> writes:
> >
> >> Yes it helps but I still wonder whether thereis a "simpler" way to 
> >> achive that. Is it possible to split a patch selecting the hunk in 
> >> git gui or any other graphical tool?
> >
> > You can apply the patch without commiting it, and them make several 
> > partial commits, by right-click "stage hunk for commit" in git-gui.
> 
> Yes, and you can do the same with "git add -i".  These tools are
> not quite nice, as they encourage a wrong workflow of committing
> what you haven't had as a whole in the work tree.

FWIW I have a preliminary patch for "git stash apply -i" in my personal 
next branch.  It does not quite work yet, and it is stalled, of course, 
since I am working on master until 1.5.4 is released.

Ciao,
Dscho

-
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