Skip to content

Commit 9a20221

Browse files
committed
Removed "--verify" from git rev-parse call.
1 parent 58ed6db commit 9a20221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labscript/labscript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2212,7 +2212,7 @@ def save_labscripts(hdf5_file):
22122212
hdf5_file[save_path].attrs['hg ' + str(command[0])] = info.decode('utf-8') + '\n' + err.decode('utf-8')
22132213
if compiler.save_git_info:
22142214
module_filename = os.path.split(path)[1]
2215-
git_commands = [['branch', '--show-current'], ['rev-parse', '--verify', 'HEAD'], ['diff', 'HEAD', module_filename]]
2215+
git_commands = [['branch', '--show-current'], ['rev-parse', 'HEAD'], ['diff', 'HEAD', module_filename]]
22162216
process_list = []
22172217
for command in git_commands:
22182218
process = subprocess.Popen(['git'] + command, cwd=os.path.split(path)[0], stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)