ChangeLogs in commit messages

Joel Brobecker brobecker@adacore.com
Mon Sep 15 12:45:00 GMT 2014


> Optional authors lines below "path/to/ChangeLog:"?
> 
>   Introduce target/target.h
> 
>   This introduces target/target.h.  This file declares some functions
>   that the shared code can use and that clients must implement.  It
>   also changes some shared code to use these functions.
> 
>   gdb/ChangeLog:
>     Tom Tromey <tromey@redhat.com>
>     Gary Benson <gbenson@redhat.com>
> 
>           * target/target.h: New file.
>           * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
>           * target.h: Include target/target.h.
>           ...        
>   
>   gdb/gdbserver/ChangeLog:
>     Tom Tromey <tromey@redhat.com>
>     Gary Benson <gbenson@redhat.com>
> 
>           * target.h: Include target/target.h.
>           * target.c (target_read_memory, target_read_uint32)
>           ...
> 
> In terms of parsing, the "/ChangeLog:" marks the start of a ChangeLog
> entry, and the blank line marks the end of any optional authors lines.
> If no authors lines are present then the committer is the author.

LGTM!

-- 
Joel



More information about the Gdb mailing list