The previous patch from Jacob only works when there is more than one patch in
the series, but did not work for the situation when there is a cover letter
(0/1) and a single patch (1/1). This patch fixes the situation.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
{ reject "$mbox" "\"$prefix_format\" prefix not found"; return; }
# If the patch prefix contains m/n, fetch m and n.
- local m
- local n
+ local m n
m="$(subject_m "$subj")"
n="$(subject_n "$subj")"
- if [ -z "$m" ] || [ "$n" -eq 1 ]; then
- [ "$m" != "0" ] || { message "Dropping patch \"0/1\""; return; }
+ if [ -z "$m" ]; then
message "Queueing stand-alone patch \"$subj\""
queue_mboxfile
else