threads / patch / 58274

patchmergetools: vimdiff: fix comment

Subject: [PATCH] mergetools: vimdiff: fix comment

## tl;dr

One message between Aug 6, 2022 and Aug 6, 2022. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Felipe Contreras· Aug 6, 2022, 18:58 UTC · lore

The name of the variable is wrong, and it can be set to anything, like 1.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 mergetools/vimdiff | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to mergetools/vimdiff +2 −2
diff --git a/mergetools/vimdiff b/mergetools/vimdiff
index f770b8fe24..ea416adcaa 100644
--- a/mergetools/vimdiff
+++ b/mergetools/vimdiff
@@ -29,8 +29,8 @@
 ################################################################################
 
 debug_print () {
-	# Send message to stderr if global variable GIT_MERGETOOL_VIMDIFF is set
-	# to "true"
+	# Send message to stderr if global variable GIT_MERGETOOL_VIMDIFF_DEBUG
+	# is set.
 
 	if test -n "$GIT_MERGETOOL_VIMDIFF_DEBUG"
 	then
-- 
2.37.1.377.g679aad9e82.dirty

← back to recent threads