git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] mergetool--lib: Fix misspelled mergetool.keepBackup

From
David Aguilar <davvid@gmail.com>
Date
Apr 12, 2009, 03:41 UTC
Message-ID
<1239507716-6766-1-git-send-email-davvid@gmail.com>
From: Ferry Huberts <ferry.huberts@pelagic.nl>
In several places mergetool.keepBackup was misspelled as merge.keepBackup.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
---

This is Ferry's patch with Junio's suggested commit message. Based on pu.

 git-mergetool.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-mergetool.sh b/git-mergetool.sh
index efa31a2..2e3e02b 100755
--- a/git-mergetool.sh
+++ b/git-mergetool.sh
@@ -257,7 +257,7 @@ prompt_after_failed_merge() {
 merge_tool=$(get_merge_tool "$merge_tool") || exit
 merge_tool_cmd="$(get_merge_tool_cmd "$merge_tool")"
 merge_tool_path="$(get_merge_tool_path "$merge_tool")" || exit
-merge_keep_backup="$(git config --bool merge.keepBackup || echo true)"
+merge_keep_backup="$(git config --bool mergetool.keepBackup || echo true)"
 merge_keep_temporaries="$(git config --bool mergetool.keepTemporaries || echo false)"
 merge_tool_trust_exit_code="$(git config --bool mergetool."$merge_tool".trustExitCode || echo false)"
 
-- 
1.6.2.2.471.g6da14
Next: David Aguilar
Message 1 of 2 in “mergetool--lib: Fix misspelled mergetool.keepBackup”
  1. 1/2 mergetool--lib: Fix misspelled mergetool.keepBackupDavid Aguilar, Apr 12, 2009
  2. 2/2 mergetool--lib: simplify API usage by removing more global variablesDavid Aguilar, Apr 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.