Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
bf96d4a1fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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