Thread (89 messages) flat view 89 messages, 18 authors, 2016-08-11

Re: multi-project repos (was Re: Cleaning up git user-interface warts)

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-08-11 20:41:19


On Fri, 17 Nov 2006, Shawn Pearce wrote:
Although if you have reflog enabled on your current branch there
is a 1 character shorter syntax:

	gitk HEAD@{1}..
Heh. With a finnish keyboard, that "@" is AltGr+'2', and the '{'/'}' is 
AltGr+'7'/'0', I guarantee that it's not "1 character shorter", it's 
"three pretty complicated characters longer" and "off the normal path 
where you hold your fingers on the keyboard ;)

And that's not even mentioning that '{'/'}' is a magic sequence for 
filename expansion to the shell, so every time I see that, I have to think 
about it (and it turns out that because there is no comma in between 
there, it's ok. Otherwise you would need to quote it or escape them...)

So the reflog syntax is fine, but it's definitely not a "simple" syntax. 
I'd only use it for things where I want something that ORIG_HEAD won't 
give me ("ORIG_HEAD" you can type by just holding the shift key down all 
the time, and letting your fingers dance over the keyboard, both on a US 
and a Finnish keyboard).

And yes, I actually use a Finnish keyboard, still. Don't ask me why. I 
don't actually need the åäö characters often enough for it to matter, and 
I have used US keyboards elsewhere enough that I can switch between the 
two without thinking, but I still ended up having my sister ship me a 
keyboard from Finland when I wanted to upgrade..

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