Skip to content
Snippets Groups Projects
Commit 278445de authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Changed the command for list changed files

parent 5f3fdd06
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def get_changed_dockerfiles(vs_master=False):
if vs_master:
diff_cmd = "git --no-pager diff --name-only origin/master"
else:
diff_cmd = "git diff-tree --no-commit-id --name-only -r HEAD"
diff_cmd = "git diff --name-only HEAD HEAD~1"
child = sp.Popen(diff_cmd, shell=True, stdout=sp.PIPE, stderr=sp.PIPE)
out, _ = child.communicate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment