Feature request: Add 'Generated-by header' to diff output
Martin Pool
mbp at sourcefrog.net
Sun Aug 5 23:49:51 BST 2007
On 8/6/07, Jari Aalto <jari.aalto at cante.net> wrote:
>
> Consider typical bzr diff output:
>
> === added file 'Makefile'
> --- Makefile 1970-01-01 00:00:00 +0000
> +++ Makefile 2007-08-05 21:38:10 +0000
>
> I propose that a "header" is added to the beginning of diff
> to announce that this diff/patch was generated byg bzr:
>
> Generated-by: bazaar 0.18
> === added file 'Makefile'
> --- Makefile 1970-01-01 00:00:00 +0000
> +++ Makefile 2007-08-05 21:38:10 +0000
Some diff tools prefix the diff with the command that generated it, or
a cleaned-up version of the command. If we included that it would
both indicate that it came from bazaar and maybe give some other
useful information. (These lines typically don't show the version but
is that needed?)
Otherwise this seems ok, as long as it's tested and optional.
--
Martin
More information about the bazaar
mailing list