Browse Source

start working on a postpush hook

Oz N Tiram 10 năm trước cách đây
mục cha
commit
ed0d6e1872
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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'))]