From bf96d4a1fa8a668ccc5186f16f3a73c4e72b1ebf Mon Sep 17 00:00:00 2001 From: Matthew Monaco Date: Mon, 4 May 2015 13:25:38 -0600 Subject: [PATCH] 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. --- radicale/storage/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/storage/filesystem.py b/radicale/storage/filesystem.py index 869b608..e358a6c 100644 --- a/radicale/storage/filesystem.py +++ b/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