Fixed looking for dirs with spaces #13

merged 1 commit into from Oct 11, 2011


None yet

2 participants


When git-dude looks for git repositories, it will break on directories with spaces in the name.

To reproduce, clone a repository into git-dude's working folder. Change the name of the directory to include a space, for example, "my repo". Upon running git-dude, bash will give an error saying git-dude/git-dude: line 44: cd: my: No such file or directory.

This commit fixes the problem by wrapping the directory names in double quotes.

@sickill sickill merged commit 2a34182 into sickill:master Oct 11, 2011

Cool, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment