On Fri, Apr 03, 2020 at 11:13:17AM +0200, Martin Liška wrote:
> 2020-04-03 Martin Liska <[email protected]>
>
> * gcc-git-customization.sh: Search for the pattern
> at line beginning only.
Ok, thanks.
> diff --git a/contrib/gcc-git-customization.sh
> b/contrib/gcc-git-customization.sh
> index f3e48316ead..a932bf8c06a 100755
> --- a/contrib/gcc-git-customization.sh
> +++ b/contrib/gcc-git-customization.sh
> @@ -18,7 +18,7 @@ ask () {
> }
>
> # Add a git command to find the git commit equivalent to legacy SVN revision
> NNN
> -git config alias.svn-rev '!f() { rev=$1; shift; git log --all
> --grep="From-SVN: r\\?$rev\\b" "${@}"; } ; f'
> +git config alias.svn-rev '!f() { rev=$1; shift; git log --all
> --grep="^From-SVN: r\\?$rev\\b" "${@}"; } ; f'
>
> # Add git commands to convert git commit to monotonically increasing
> revision number
> # and vice versa
>
Jakub