A typo fix --- sorry for the noise.
Jonathan Nieder wrote:
quoted hunk ↗ jump to hunk
--- a/var.c
+++ b/var.c
@@ -8,6 +8,16 @@
static const char var_usage[] = "git var [-l | <variable>]";
+static const char *editor(int flag)
+{
+ const char *pgm = git_editor();
+
+ if (!pgm && flag & IDENT_ERROR_ON_NO_NAME)
+ die("terminal is dumb, but VISUAL and EDITOR unset");
Agh... s/VISUAL and //.
All right, time to sleep. Apologies for all the mistakes, and thanks
for the help catching them.
Kind regards,
Jonathan