[PATCH 2/4] nmbug: Handle missing @upstream in is_unmerged

David Bremner bremner at debian.org
Tue Jul 15 16:44:53 PDT 2014


"W. Trevor King" <wking at tremily.us> writes:

> -  my $fetch_head = git ('rev-parse', $commit);
> +  my ($fetch_head, $status) = git_with_status ('rev-parse', $commit);
> +  if ($status) {
> +    return 0;
> +  }

Could there be other errors here, other than @{upstream} not existing?
At first glance it seems like there is potential to hide errors here.

d



More information about the notmuch mailing list