Re: [PATCH] Avoid segfault when passed malformed refspec

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sean <seanlkml@...>
Cc: <git@...>
Date: Friday, February 1, 2008 - 9:03 pm

Sean <seanlkml@sympatico.ca> writes:


I haven't followed the codepath carefully before responding, it
feels like sweeping the breakage under the carpet, without
fixing the real issue.

If the problem is a badly formatted input, shouldn't the code
die loudly with diagnostic message, instead of pretending as if
the user said something different (and sensible), especially
without telling the user that that is what the code is doing?







-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Avoid segfault when passed malformed refspec, Junio C Hamano, (Fri Feb 1, 9:03 pm)