On di, 2016-02-02 at 16:21 -0800, Junio C Hamano wrote:
> Dennis Kaarsemaker writes:
>
> > + if (revs->reflog_info) {
> > + /*
> > + * The reflog iterator gets confused when fed
> > things that don't
> > + * have reflogs. Help it along a
Dennis Kaarsemaker writes:
> It is not, the code should look for @{, not @.
Not exactly.
$ git show -s --format='%h %s' 'HEAD^{/@{3}}' --
55d5d5b combine-diff.c: fix performance problem when folding ...
The commit has a line with a string "@@@" on it and the
git log -g (and by extension, git reflog) gets mightly confused when
trying to display the reflog of something that is not a ref that has a
reflog. We can help by teaching handle_revision_arg to check all
revision arguments for reflog existence if it's in reflog mode.
git log -g
Dennis Kaarsemaker writes:
> + if (revs->reflog_info) {
> + /*
> + * The reflog iterator gets confused when fed things that don't
> + * have reflogs. Help it along a bit
> + */
> + if (strchr(arg, '@') !=
4 matches
Mail list logo