Commit 25ec5f7c authored by Jérome Perrin's avatar Jérome Perrin Committed by Xavier Thompson

ignore git when computing signature of a recipe develop egg

When a recipe is developed in a git working copy, .git administrative
database folder should be ignored, like we did with CVS and svn.

/reviewed-on nexedi/slapos.buildout!14
parent f3c2959c
...@@ -1860,7 +1860,7 @@ def _open(base, filename, dl_options, override, seen=None, processing=None): ...@@ -1860,7 +1860,7 @@ def _open(base, filename, dl_options, override, seen=None, processing=None):
return result return result
ignore_directories = '.svn', 'CVS', '__pycache__' ignore_directories = '.svn', 'CVS', '__pycache__', '.git'
_dir_hashes = {} _dir_hashes = {}
def _dir_hash(dir): def _dir_hash(dir):
dir_hash = _dir_hashes.get(dir, None) dir_hash = _dir_hashes.get(dir, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment