[apologies if off-topic]

On Mon, Apr 04, 2011 at 02:59:46PM +0200, Gabriel Kerneis wrote:
> I do not use git stash (or darcs revert) to pull new patches.  I use it
> to compare my latest published revision and my work-in-progress bug
> fixing.

Couldn't you just use git diff for this? Or am I missing something?

> Or switch between branches/ideas coming to my mind during the
> bug fixing process.

Yeah, this sounds like my usecase number (1). Ultra-ultra lightweight
branching, with automatic garbage-collection of unused branches.

> By the way, I love the fact that darcs revert allows selecting chunks,
> and loathe the all-or-nothing aspect of git stash.

It looks like "git stash --patch" does what you want. Or add the changes
you want to keep in your working copy to the index with "git add -p",
then use "git stash --keep-index".

HTH,

Miles

-- 
Air guitar and singing would be somewhat of a faux pas in an ambulance
station.
  -- Peter Moore
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to