Re: [PATCH] log --reflog: use dwim_log
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 9, 2007, 03:43 UTC
- Message-ID
- <7vtzxwuhb1.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0702090127510.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Since "git log origin/master" uses dwim_log() to match > "refs/remotes/origin/master", it makes sense to do that for > "git log --reflog", too.
This is a bit sad.
When there is remotes/origin/HEAD symref that points at remotes/origin/master (and usually there is, in a repository initialized with the current git-clone), you can say "git log origin". Even with this patch, I do not think dwim_log would allow you to say "git log -g origin" to mean "git log -g origin/master".