| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 58934b8 commit 26bb778
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ def __init__(self, path=None, odbt=DefaultDBType, search_parent_directories=Fals | |||
| 141 | 141 | self.working_dir = None | |
| 142 | 142 | self._working_tree_dir = None | |
| 143 | 143 | self.git_dir = None | |
| 144 | - curpath = epath | ||
| 144 | + curpath = os.getenv('GIT_DIR', epath) | ||
| 145 | 145 | ||
| 146 | 146 | # walk up the path to find the .git dir | |
| 147 | 147 | while curpath: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments