소스 검색

start working on a postpush hook

Oz N Tiram 10 년 전
부모
커밋
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'))]