Re: Re: Re: Re: [ANNOUNCE] git-pasky-0.3

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

 



Dear diary, on Wed, Apr 13, 2005 at 07:01:34PM CEST, I got a letter
where Daniel Barkalow <[email protected]> told me that...
> For future reference, git is unhappy if you actually do this, because your
> HEAD won't match the (empty) contents of the new directory. The easiest
> thing is to cp -r your original, replace the shared stuff with links, and
> go from there.

How is it unhappy? That would likely be a bug, unless you do something
which really *needs* the tree populated and doesn't make sense otherwise
(show-diff aka git diff w/o arguments, for example).

Given that what would you copy with cp -r and wipe shortly after
(objects db) is likely to be significantly larger than the working tree
itself, checkout-cache would be wiser anyway.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
98% of the time I am right. Why worry about the other 3%.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux