Signed-off-by: Ted Zlatanov <tzz@xxxxxxxxxxxx> --- contrib/credential/netrc/git-credential-netrc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/contrib/credential/netrc/git-credential-netrc b/contrib/credential/netrc/git-credential-netrc index 92fc306..a47a223 100755 --- a/contrib/credential/netrc/git-credential-netrc +++ b/contrib/credential/netrc/git-credential-netrc @@ -192,6 +192,9 @@ LINE: foreach my $line (@data) push(@tok, $tok); } + # skip blank lines, comments, etc. + next LINE unless scalar @tok; + my %tokens; while (@tok) { -- 1.7.9.rc2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html