Re: git-pull-script on my linus tree fails..

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

 



Linus Torvalds wrote:
No, you don't understand. The git-checkout-script already takes a parameter to indicate _what_ to check out. It just defaults to head.

So you'd do

	git-checkout-script branch && switch branch

and you'd be done.

ah, ok.


Anyway, I liked the branch semantics for "git checkout" so much that I just made it do that by default. In other words, if you do
[...]
These seem like sane and useful semantics, and your "switch" script should really fall out as "git checkout -f".

If git-checkout-script switches the .git/HEAD symlink properly, rather than updating the symlink target's contents, then my git-switch-tree script can just go away :)

Thanks,

	Jeff


-
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