The current implementation does not allow hash values or other *HEAD
names to be passed to the 'diff' command.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
id_file = os.path.join(path, git_id)
if os.path.isfile(id_file):
return read_string(id_file)
id_file = os.path.join(path, git_id)
if os.path.isfile(id_file):
return read_string(id_file)
+
+ # maybe GIT know more about this id
+ return git_id
elif len(string_list) == 2:
patch_name = string_list[0]
if patch_name == '':
elif len(string_list) == 2:
patch_name = string_list[0]
if patch_name == '':