Commit 37808c09 authored by Jérome Perrin's avatar Jérome Perrin Committed by Julien Muchembled

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 ee0fa8e7
...@@ -1863,7 +1863,7 @@ def _open(base, filename, seen, dl_options, override, downloaded): ...@@ -1863,7 +1863,7 @@ def _open(base, filename, seen, dl_options, override, downloaded):
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