mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-05-18 12:17:46 +02:00
Hide .git/ in file browser for now
This commit is contained in:
parent
0e96bd2fc0
commit
17b8c64a1d
|
@ -19,6 +19,8 @@ func update():
|
|||
files.sort_custom(self, "very_best_sort")
|
||||
for file_path in files:
|
||||
file_path = file_path.substr(2)
|
||||
if file_path.substr(0, 5) == ".git/":
|
||||
continue
|
||||
var child = $FileTree.create_item(root_item)
|
||||
child.set_text(0, file_path)
|
||||
#child.set_editable(0, true)
|
||||
|
|
Loading…
Reference in a new issue