From: Jakub Narebski Date: Sun, 22 Oct 2006 21:41:57 GMT Subject: Re: Commit-ish shortcut for immediate parent range Message-ID: In-Reply-To: Linus Torvalds wrote: > Now, "git show" obviously does exactly what you probably wanted, but for > future reference, the "git log" family of commands also take a "number of > commits" limiter. > > So you can also do things like > >         git log --cc -1 X > > and it will actually do something very similar to "git show". It's not > _quite_ identical, but it's close - at least for the special case of a > single commit. And of course this shortcut is not documented. git-log(1) and git-rev-list(1) talks only about "--max-count=", and "-n ", and doesn't talk about possible shortcuts "-n" and "-". Perhaps because those shortcuts are discouraged? Additionally you can find "-n " shortcut only further on the git-rev-list(1). Patch will follow. BTW. what does "recursive diff" mean (in git)? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git