{"thread":{"id":"42310","subject":"gitk bug? Tree view doesn't show all contents in non-top-level directory","startedAt":"2016-05-13T18:17:21Z","lastAt":"2016-05-13T18:17:21Z","messageCount":1,"participants":["Daniel Lenski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"286476","messageId":"loom.20160513T195919-67@post.gmane.org","threadId":"42310","inReplyTo":null,"subject":"gitk bug? Tree view doesn't show all contents in non-top-level directory","fromName":"Daniel Lenski","fromEmail":"dlenski@gmail.com","sentAt":"2016-05-13T18:17:21Z","receivedAt":"2016-05-13T18:17:21Z","isPatch":false,"sender":{"key":"dlenski@gmail.com","avatar":null},"body":"Hi all,\n\nI have been running into a bug in gitk, wherein it doesn't show the complete \ncontents of the repository in the Tree view, when invoked from a subdirectory \nof the working tree (as opposed to the top level).\n\nThe bug is very simple to reproduce:\n\n  $ git --version\n  git version 2.8.2\n  $ mkdir test\n  $ cd test\n  $ git init\n  $ mkdir subdir\n  $ touch a.txt subdir/b.txt\n  $ git add a.txt subdir/b.txt \n  $ git ci -m test\n  $ gitk &         # All files are shown in Tree view\n  $ cd subdir/\n  $ gitk &         # Only files under subdir/ are shown in Tree view\n\nThe bug seems to only affect the Tree view, *not* the Patch view. All modified \nfiles are shown in the Patch view. (I think the Patch view may have been fixed \nin 2011: http://thread.gmane.org/gmane.comp.version-control.git/170853)\n\nThanks,\nDan Lenski\n"}]}