* gitk dev branch: F5 gives error after commit
@ 2008-01-07 16:52 Johannes Sixt
2008-01-07 18:19 ` Marco Costalba
2008-01-07 21:35 ` Paul Mackerras
0 siblings, 2 replies; 3+ messages in thread
From: Johannes Sixt @ 2008-01-07 16:52 UTC (permalink / raw)
To: Paul Mackerras; +Cc: Git Mailing List
I use the dev branch of gitk (on Windows), commit 476ca63 (gitk: Index
[fnvr]highlights by id rather than row).
1. Start it with:
gitk --all -300
2. Make a commit.
3. Hit F5. Here I see the error message:
Error reading commits:
fatal: bad revision '^-300'
At this time the label of the current branch is already gone from the
commit list. There are no other changes made in the display.
Hitting F5 again does nothing. I have to create a new view to get an
updated display.
Any help is appreciated. Thanks,
-- Hannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gitk dev branch: F5 gives error after commit
2008-01-07 16:52 gitk dev branch: F5 gives error after commit Johannes Sixt
@ 2008-01-07 18:19 ` Marco Costalba
2008-01-07 21:35 ` Paul Mackerras
1 sibling, 0 replies; 3+ messages in thread
From: Marco Costalba @ 2008-01-07 18:19 UTC (permalink / raw)
To: Johannes Sixt; +Cc: Paul Mackerras, Git Mailing List
On Jan 7, 2008 5:52 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
> I use the dev branch of gitk (on Windows), commit 476ca63 (gitk: Index
> [fnvr]highlights by id rather than row).
>
> 1. Start it with:
>
> gitk --all -300
>
> 2. Make a commit.
> 3. Hit F5. Here I see the error message:
>
> Error reading commits:
> fatal: bad revision '^-300'
>
Windows command line does not handles the ^ symbol.
Try open a console with cmd.exe and type
git log HEAD^
Marco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gitk dev branch: F5 gives error after commit
2008-01-07 16:52 gitk dev branch: F5 gives error after commit Johannes Sixt
2008-01-07 18:19 ` Marco Costalba
@ 2008-01-07 21:35 ` Paul Mackerras
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mackerras @ 2008-01-07 21:35 UTC (permalink / raw)
To: Johannes Sixt; +Cc: Git Mailing List
Johannes Sixt writes:
> I use the dev branch of gitk (on Windows), commit 476ca63 (gitk: Index
> [fnvr]highlights by id rather than row).
>
> 1. Start it with:
>
> gitk --all -300
>
> 2. Make a commit.
> 3. Hit F5. Here I see the error message:
>
> Error reading commits:
> fatal: bad revision '^-300'
This happens because I naively thought 'git rev-parse --revs-only'
would only give me SHA1 IDs. But in any case gitk (on the dev branch)
doesn't really do anything much to handle commit selection flags that
can't be turned into SHA1 IDs (possibly negated).
Thanks for testing. I'll fix it.
Paul.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-07 21:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 16:52 gitk dev branch: F5 gives error after commit Johannes Sixt
2008-01-07 18:19 ` Marco Costalba
2008-01-07 21:35 ` Paul Mackerras
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).