On Fri, Sep 07, 2007 at 08:17:34PM +0200, Stepan Kasal wrote:
> Attached please find my variation on Mike's patch.
> Karel: Is there a way to declare two co-authors of a patch in git?
I think not (at least didn't found it...). So I've stared to use
"Co-Author:" field in commit message.
> From: Mike Frysinger <[EMAIL PROTECTED]>, Stepan Kasal <[EMAIL PROTECTED]>
... this doesn't work as expected:
$ git commit -a -s -m "test" --author "Mike Frysinger <[EMAIL PROTECTED]>,
Stepan Kasal <[EMAIL PROTECTED]>"
$ git show
commit c4d001ba64767d01cefeb2a0a0e3456514c95442
Author: Mike Frysinger [EMAIL PROTECTED], Stepan Kasal <[EMAIL PROTECTED]>
$ git show --pretty=format:"%an"
Mike Frysinger [EMAIL PROTECTED], Stepan Kasal
My solution:
> Date: Fri, 7 Sep 2007 16:55:36 +0200
> Subject: [PATCH] Unify method for checking system calls and fallback handling.
>
Co-Author: Stepan Kasal <[EMAIL PROTECTED]>
> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
> Signed-off-by: Stepan Kasal <[EMAIL PROTECTED]>
... I'm going to use the Co-Author field in my changelog generator.
> +m4_define([_UTIL_CHECK_SYSCALL_FALLBACK],
> +[m4_ifval([$1],
> + [#(
> + $1) syscall="$2" ;;dnl
> + _UTIL_CHECK_SYSCALL_FALLBACK(m4_shiftn(2, $@))])dnl
> +])
> +
> +UTIL_CHECK_SYSCALL([pivot_root])
> +UTIL_CHECK_SYSCALL([sched_getaffinity])
> +UTIL_CHECK_SYSCALL([ioprio_set],
> + [alpha], [442],
> + [i*86], [289],
> + [ia64*], [1274],
> + [powerpc*], [273],
> + [s390*], [282],
> + [sparc*], [196],
> + [x86_64*], [251])
Wow... nice!
Karel
--
Karel Zak <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html