Thread (36 messages) flat view 36 messages, 11 authors, 2016-06-15

Re: EasyGit Integration

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:46:56

On Wed, Jun 10, 2009 at 7:03 AM, Linus
Torvalds[off-list ref] wrote:

On Tue, 9 Jun 2009, Theodore Tso wrote:
quoted
My personal opinion is this kind of overloading is actually more
confusing than simply adding a new name, such as "git revert-file".
I'd agree, except I think it actually worked pretty well in "git
checkout".

The alternative was to add yet another command for that, or to teach
people about the internal commands we did have. Adding the capability for
checkout to check out individual files - in addition to commits and
branches - I think worked pretty well.
Why? What makes 'git checkout <commit>' and 'git checkout <commit> --
<path>' similar at all? I would expect 'git checkout <commit>' to be
the same as 'git checkout <commit> -- .'

In my mind these are 2 completely different commands.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help