git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [REGRESSION] gitk can't be run from non-worktree folders
@ 2020-01-23 16:04 ch
  2020-01-23 16:31 ` SZEDER Gábor
  0 siblings, 1 reply; 15+ messages in thread
From: ch @ 2020-01-23 16:04 UTC (permalink / raw)
  To: git

Hi all!

I recently updated my Git installation from 2.24.1.windows.2 to
2.25.0.windows.1 and from the looks of it the included version of gitk does not
support being run from non-worktree folders of a repository anymore (like the
.git folder for example).

Here's a small reproduction recipe:

   $ git init repro
   $ cd repro
   $ git commit -m test --allow-empty
   $ cd .git
   $ gitk --all &

gitk terminates with the message:

   fatal: this operation must be run in a work tree
       while executing
   "exec git rev-parse --show-toplevel"
       invoked from within
   "set worktree [exec git rev-parse --show-toplevel]"
       (file "C:/Program Files/Git/mingw64/bin/gitk" line 12634)

-ch

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-10-13 15:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23 16:04 [REGRESSION] gitk can't be run from non-worktree folders ch
2020-01-23 16:31 ` SZEDER Gábor
2020-01-23 16:36   ` Eric Sunshine
2020-01-23 17:04     ` SZEDER Gábor
2020-01-23 17:46       ` SZEDER Gábor
2020-01-23 19:02     ` Junio C Hamano
2020-01-23 19:20       ` [PATCH] gitk: to run in a bare repository (was: gitk can't be run from non-worktree folders) Junio C Hamano
2020-01-23 19:26         ` Eric Sunshine
2020-01-23 19:27         ` Jeff King
2020-03-30 15:20           ` ch
2020-10-11  5:08             ` Eric Sunshine
2020-10-13 14:25               ` [PATCH] gitk: to run in a bare repository ch
2020-10-13 15:31                 ` Pratyush Yadav
2020-04-02 13:40     ` [REGRESSION] gitk can't be run from non-worktree folders ch
2020-04-02 17:47     ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).