فهرست منبع

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