On 04/22/2011 03:54 AM, Paul Eggert wrote:
> Subject: [PATCH 7/7] Fix typo in modules/strtoumax: it needs strtoul.c too.
> 
> ---
>  ChangeLog         |    2 +-
>  modules/strtoumax |    1 +
>  2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/ChangeLog b/ChangeLog
> index babb259..675c895 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -44,7 +44,7 @@
>       strtoumax: remove dependency on strtoimax, strtoull
>       This is like the strtoimax change.
>       * modules/strtoumax (Files): Add lib/strtoimax.c, lib/strtol.c,
> -     lib/strtoull.c, m4/strtoull.m4.
> +     lib/strtoul.c, lib/strtoull.c, m4/strtoull.m4.

Rather than fixing after the fact, can't you do 'git rebase -i origin',
move that line up next to the patch where it is needed, change 'edit' to
'squash', and thereby amend the commit into a single commit that does
the right thing in the first place?

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to