gitk bug? Tree view doesn't show all contents in non-top-level directory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gitk bug? Tree view doesn't show all contents in non-top-level directory

Dan Lenski
Hi all,

I have been running into a bug in gitk, wherein it doesn't show the complete
contents of the repository in the Tree view, when invoked from a subdirectory
of the working tree (as opposed to the top level).

The bug is very simple to reproduce:

  $ git --version
  git version 2.8.2
  $ mkdir test
  $ cd test
  $ git init
  $ mkdir subdir
  $ touch a.txt subdir/b.txt
  $ git add a.txt subdir/b.txt
  $ git ci -m test
  $ gitk &         # All files are shown in Tree view
  $ cd subdir/
  $ gitk &         # Only files under subdir/ are shown in Tree view

The bug seems to only affect the Tree view, *not* the Patch view. All modified
files are shown in the Patch view. (I think the Patch view may have been fixed
in 2011: http://thread.gmane.org/gmane.comp.version-control.git/170853)

Thanks,
Dan Lenski



--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html