Ver Fonte

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 há 10 anos atrás
pai
commit
bf96d4a1fa
1 ficheiros alterados com 1 adições e 1 exclusões
  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