git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUGLET] git bisect visualize does not show BISECT_HEAD
@ 2013-08-23 13:21 Yann Dirson
  0 siblings, 0 replies; only message in thread
From: Yann Dirson @ 2013-08-23 13:21 UTC (permalink / raw)
  To: git list; +Cc: dirson, poulot-cazajous, metral

[v1.8.3.4]

"git bisect visualize" when run without --no-checkout has the standard gitk handling of
"HEAD" showing what the current revision being tested is (as a yellow node).

Now when using --no-checkout, the information "current revision" we may be looking for
has nothing to do with HEAD any longer: we need BISECT_HEAD instead - and if by any chance
HEAD would happen to be in the displayed scope, the user may do wrong assumptions about
it (maybe).


Wondering whether there would be any flags that would pass to gitk through "bisect visualize",
I naively tried:

 $ git bisect visualize -h
 usage: git log [<options>] [<revision range>] [[--] <path>...]
   or: git show [options] <object>...

    --quiet               suppress diff output
    --source              show source
    --use-mailmap         Use mail map file
    --decorate[=...]      decorate options
    -L <n,m:file>         Process line range n,m in file, counting from 1

Wandering away from what I was look for:

 $ git bisect visualize --decorate
 ... some git log output

That seems unfortunate in its own right as well...


Back to the problem of visualizing the info, it looks like gitk would need a way to display
refs that are not displayed by default, when we need them.  Something like:

	gitk --explicit-refs=BISECT_HEAD,refs/whatever

That would also be helpful when one tries to look at the reflog graphically: whereas
gitk accepts to show whatever@{1} and friends, it never tells us which revision corresponds
to which reflog entry, and --explicit-refs=whatever@{1},whatever@{2} would help here, as would
something like --explicit-refs=whatever@{*} or --explicit-refs=whatever@{1..5}, but that starts
to be more tricky to formalize.

Thoughts, anyone ?

-- 
Yann Dirson - Bertin Technologies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-23 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 13:21 [BUGLET] git bisect visualize does not show BISECT_HEAD Yann Dirson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).