소스 검색

Use path for git commit message

The hard-coded message isn't very helpful, and that info is shown by the
author when looking at single line logs.
Matthew Monaco 10 년 전
부모
커밋
bf96d4a1fa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      radicale/storage/filesystem.py

+ 1 - 1
radicale/storage/filesystem.py

@@ -55,7 +55,7 @@ def open(path, mode="r"):
         path = os.path.relpath(abs_path, FOLDER)
         GIT_REPOSITORY.stage([path])
         committer = config.get("git", "committer")
-        GIT_REPOSITORY.do_commit("Commit by Radicale", committer=committer)
+        GIT_REPOSITORY.do_commit(path, committer=committer)
 # pylint: enable=W0622