gitweb cleanup: Move @diff_opts declaration earlier
[gitweb.git] / git-rebase--interactive.sh
index f3950767ea6256cd9c2dceabbe7c91fa62e3f3aa..a2d4d09f5d3c5e87dfad639ed7502933d065b323 100755 (executable)
@@ -414,7 +414,7 @@ EOF
                        die_abort "Nothing to do"
 
                cp "$TODO" "$TODO".backup
-               ${VISUAL:-${EDITOR:-vi}} "$TODO" ||
+               git_editor "$TODO" ||
                        die "Could not execute editor"
 
                test -z "$(grep -ve '^$' -e '^#' < $TODO)" &&