On 11/1/06, Junio C Hamano <junkio@cox.net> wrote:
Then perhaps git-reset should do "co HEAD path" too if --index is not specified?
To sum up:
- git reset HEAD path -> git checkout HEAD path
- git reset --index HEAD path -> git-ls-files HEAD path|git
update-index --index-info
- git reset HEAD (without path) -> the current behaviour
Because <commit-ish> may be missing, there is some ambiguation here.
--
Duy
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html