Re: What I miss from Cogito...

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Florian Weimer
Date: Sunday, March 23, 2008 - 12:14 pm

* Luciano Rocha:



No, it restores the file version in the index.  "git checkout HEAD --
$path" should be the same.

Personally, I'm not all that happy with the multiple different meanings
of "git reset" and "git checkout", either.  Depending on the parameters,
the two comments manipulate both the contents of the working copy, or
the location at which the working copy is hooked in the history.  If we
need to have two separate commands for this, it would make more sense to
draw distinction between the two aspects, and not the mess we have now.
OTOH, it's probably too late for that.
--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What I miss from Cogito..., H. Peter Anvin, (Sun Mar 23, 10:15 am)
Re: What I miss from Cogito..., Theodore Tso, (Sun Mar 23, 10:38 am)
Re: What I miss from Cogito..., H. Peter Anvin, (Sun Mar 23, 10:46 am)
Re: What I miss from Cogito..., Luciano Rocha, (Sun Mar 23, 11:21 am)
Re: What I miss from Cogito..., Johannes Schindelin, (Sun Mar 23, 11:31 am)
Re: What I miss from Cogito..., Junio C Hamano, (Sun Mar 23, 11:34 am)
Re: What I miss from Cogito..., H. Peter Anvin, (Sun Mar 23, 11:58 am)
Re: What I miss from Cogito..., Junio C Hamano, (Sun Mar 23, 11:59 am)
Re: What I miss from Cogito..., Mike Hommey, (Sun Mar 23, 12:00 pm)
Re: What I miss from Cogito..., Bruce Stephens, (Sun Mar 23, 12:07 pm)
Re: What I miss from Cogito..., Mike Hommey, (Sun Mar 23, 12:07 pm)
Re: What I miss from Cogito..., Florian Weimer, (Sun Mar 23, 12:14 pm)
Re: What I miss from Cogito..., Daniel Barkalow, (Sun Mar 23, 12:16 pm)
Re: What I miss from Cogito..., H. Peter Anvin, (Sun Mar 23, 12:19 pm)
Re: What I miss from Cogito..., Theodore Tso, (Sun Mar 23, 5:16 pm)
Re: What I miss from Cogito..., Björn, (Sun Mar 23, 6:40 pm)
Re: What I miss from Cogito..., Theodore Tso, (Sun Mar 23, 7:14 pm)
Re: What I miss from Cogito..., Junio C Hamano, (Sun Mar 23, 7:53 pm)
Re: What I miss from Cogito..., Björn, (Sun Mar 23, 7:57 pm)
Re: What I miss from Cogito..., Petr Baudis, (Wed Mar 26, 7:36 pm)