Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-01-07 04:38:29 +0400
committerEdward Thomson <ethomson@microsoft.com>2013-01-07 04:38:29 +0400
commitc31ae146b4fec2220db981465f2bde221fec1f72 (patch)
tree1b9295b6cf42011fcc6b4a55094ac025abc5f8b8 /src/merge.c
parent7eb222fc7d392e8570e93373d7ffc7f67ea792cc (diff)
merge cleanup should actually cleanup and the test should actually test
Diffstat (limited to 'src/merge.c')
-rw-r--r--src/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merge.c b/src/merge.c
index f52c112c9..7eaa98a2c 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -26,7 +26,7 @@ int git_repository_merge_cleanup(git_repository *repo)
if (git_buf_joinpath(&merge_head_path, repo->path_repository, GIT_MERGE_HEAD_FILE) < 0 ||
git_buf_joinpath(&merge_mode_path, repo->path_repository, GIT_MERGE_MODE_FILE) < 0 ||
- git_buf_joinpath(&merge_mode_path, repo->path_repository, GIT_MERGE_MODE_FILE) < 0)
+ git_buf_joinpath(&merge_msg_path, repo->path_repository, GIT_MERGE_MSG_FILE) < 0)
return -1;
if (git_path_isfile(merge_head_path.ptr)) {