Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

Re: [PATCH v3] Teach git var about GIT_EDITOR

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:47:39

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help