# Utility functions
-def git_id(string):
+def git_id(string, strict = False):
"""Return the GIT id
"""
if not string:
if os.path.isfile(id_file):
return read_string(id_file)
- # maybe GIT know more about this id
- return git_id
+ # maybe GIT knows more about this id
+ if not strict:
+ return git_id
elif len(string_list) == 2:
patch_name = string_list[0]
if patch_name == '':