diff --git a/file_browser.gd b/file_browser.gd index 6d0d618..dd3e1f2 100644 --- a/file_browser.gd +++ b/file_browser.gd @@ -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) diff --git a/shell.gd b/shell.gd index 66d1b4a..db9d7ba 100644 --- a/shell.gd +++ b/shell.gd @@ -15,7 +15,7 @@ func cd(dir): # Run a shell command given as a string. Run this if you're interested in the # output of the command. func run(command, crash_on_fail=true): - var debug = true + var debug = false if debug: print("$ %s" % command)