diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2008-10-27 11:22:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-30 17:52:24 -0700 |
commit | a4f34cbb4cea1f0b0e625b528f269f4b517c64f8 (patch) | |
tree | d17b28dc28f2f182c169030bd618a625a65b865c /rerere.c | |
parent | aba13e7c0566f578f866504bfcb388a72f7e5079 (diff) | |
download | git-a4f34cbb4cea1f0b0e625b528f269f4b517c64f8.tar.gz |
Use git_pathdup instead of xstrdup(git_path(...))
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rerere.c')
-rw-r--r-- | rerere.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ int setup_rerere(struct string_list *merge_rr) if (!is_rerere_enabled()) return -1; - merge_rr_path = xstrdup(git_path("MERGE_RR")); + merge_rr_path = git_pathdup("MERGE_RR"); fd = hold_lock_file_for_update(&write_lock, merge_rr_path, 1); read_rr(merge_rr); return fd; |