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.
This commit is contained in:
Matthew Monaco 2015-05-04 13:25:38 -06:00
parent ced7e76ba0
commit bf96d4a1fa

View File

@ -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