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

Re: [PATCH 2/5] Don't return 'undef' in case called in a vector context.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:53

Dan Zwell [off-list ref] writes:
quoted hunk
diff --git a/perl/Git.pm b/perl/Git.pm
index dca92c8..6603762 100644
--- a/perl/Git.pm
+++ b/perl/Git.pm
@@ -508,7 +508,7 @@ sub config {
 		my $E = shift;
 		if ($E->value() == 1) {
 			# Key not found.
-			return undef;
+			return;
 		} else {
 			throw $E;
 		}
Shouldn't the same fix made to config_bool as well?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help