From: Yann Dirson <dirson@bertin.fr>
To: git list <git@vger.kernel.org>
Cc: dirson@bertin.fr, poulot-cazajous@bertin.fr, metral@bertin.fr
Subject: [BUGLET] git bisect visualize does not show BISECT_HEAD
Date: Fri, 23 Aug 2013 15:21:27 +0200 [thread overview]
Message-ID: <20130823152127.73733364@chalon.bertin.fr> (raw)
[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
reply other threads:[~2013-08-23 13:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130823152127.73733364@chalon.bertin.fr \
--to=dirson@bertin.fr \
--cc=git@vger.kernel.org \
--cc=metral@bertin.fr \
--cc=poulot-cazajous@bertin.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).