Просмотр исходного кода

start working on a postpush hook

Oz N Tiram 10 лет назад
Родитель
Сommit
ed0d6e1872
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      hooks/postpush

+ 7 - 0
hooks/postpush

@@ -0,0 +1,7 @@
+# List changed in the last commit
+
+git diff-tree --no-commit-id --name-only -r $(git rev-list HEAD^..HEAD)
+
+# Python version
+
+[patch.new_file_path for patch in repo.diff('HEAD', 'HEAD~1'))]