~bkidwell/zim/win32-build-0.61-fixes

« back to all changes in this revision

Viewing changes to zim/plugins/versioncontrol/__init__.py

  • Committer: Jaap Karssenberg
  • Date: 2014-07-31 19:19:24 UTC
  • Revision ID: pardus@cpan.org-20140731191924-bw5xe7tb28el7ib2
Merge small patch from Steffen Siebert

Show diffs side-by-side

added added

removed removed

Lines of Context:
291
291
                                return 'bzr', path
292
292
                        elif path.subdir('.hg').exists():
293
293
                                return 'hg', path
294
 
                        elif path.subdir('.git').exists():
 
294
                        elif path.subdir('.git').exists() or path.file('.git').exists():
295
295
                                return 'git', path
296
296
                        elif path.subdir('.svn').exists():
297
297
                                return 'svn', path