lkml.org 
[lkml]   [2005]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Re: Re: Re: [ANNOUNCE] git-pasky-0.3
    Dear diary, on Wed, Apr 13, 2005 at 07:01:34PM CEST, I got a letter
    where Daniel Barkalow <barkalow@iabervon.org> 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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-04-13 20:11    [W:0.018 / U:33.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site