Fixes bug that prevents git-buffer-info from finding the git-dir.
commit1f6e0aef97ae1cd720bb2932c153d41438d4d19e
authorVictor Bogado <victor@bogado.net>
Mon, 1 Jun 2009 20:13:51 +0000 (1 17:13 -0300)
committerVictor Bogado <victor@bogado.net>
Mon, 1 Jun 2009 20:13:51 +0000 (1 17:13 -0300)
tree1a15f9eca43b1b1b32605cca47f3d5c419708158
parentfe85f94c59c7a8d84f4b63ebc594f6a9797439c9
Fixes bug that prevents git-buffer-info from finding the git-dir.

If the function GitBranchInfoFindDir were used is a subdir that is deeper
than the "root" dir for the project it would terminate the "for"
prematurelly.
git-branch-info.vim