diff options
author | Uri Baghin <uri@canva.com> | 2019-09-28 17:12:54 +1000 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-09-28 12:43:45 +0200 |
commit | 4bf53a3913d55f933079801ff367db5e326a189a (patch) | |
tree | 88680e62754a0a2bfe9097122f982e5e2d198466 /git/test/test_index.py | |
parent | 3d7eaf1253245c6b88fd969efa383b775927cdd0 (diff) | |
download | gitpython-4bf53a3913d55f933079801ff367db5e326a189a.tar.gz |
Fix test_commit_msg_hook_success.
Diffstat (limited to 'git/test/test_index.py')
-rw-r--r-- | git/test/test_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_index.py b/git/test/test_index.py index a30d314b..11009239 100644 --- a/git/test/test_index.py +++ b/git/test/test_index.py @@ -897,7 +897,7 @@ class TestIndex(TestBase): _make_hook( index.repo.git_dir, 'commit-msg', - 'echo -n " {}" >> "$1"'.format(from_hook_message) + 'printf " {}" >> "$1"'.format(from_hook_message) ) new_commit = index.commit(commit_message) self.assertEqual(new_commit.message, u"{} {}".format(commit_message, from_hook_message)) |