Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > This imitates the behaviour of git-commit. > > Noticed by Han-Wen Nienhuys. > > Signed-off-by: Johannes Schindelin <Johannes.Schindelin@xxxxxx> Ok, but what the **** is "die ...; exit 2" sequence? > @@ -45,6 +45,17 @@ do > message_given=1 > fi > ;; > + -F) > + annotate=1 > + shift > + if test "$#" = "0"; then > + die "error: option -F needs an argument" > + exit 2 > + else > + message="$(cat "$1")" > + message_given=1 > + fi > + ;; I know it was copied from Han-Wen's aabd7693, but was this somehow to catch the case where die can fail??? - 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