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

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

 



Linus Torvalds wrote:
I guess I can make the "git pull" script do that automatically (some other
scripts do, like "git commit", which also depends on having an up-to-date
index).

Slight tangent... it would be nice if you would write a 2-line git-checkout-script, which provides the modern version of

	git-read-tree -m HEAD && git-checkout-cache -q -f -u -a

Note that I do depend on this command blowing away working dir changes, but maybe you would want that to be a separate arg.

Then you could add a "-u" arg, or somesuch, to the situations like git pull that want an up-to-date index.

	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