Re: [PATCH] git-gui: Fix file name pattern in .gitattributes.
Johannes Sixt <j6t@kdbg.org> writes:
Show 18 quoted lines
> The pattern for the *.po files was anchored at the repository's root, but
> this would match the files only in the git-gui repository itself, but
> not in the version that is subtree-merged into git.git.
>
> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
> ---
> .gitattributes | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/.gitattributes b/.gitattributes
> index f96112d..c69f4a0 100644
> --- a/.gitattributes
> +++ b/.gitattributes
> @@ -1,3 +1,3 @@
> * encoding=US-ASCII
> git-gui.sh encoding=UTF-8
> -/po/*.po encoding=UTF-8
> +po/*.po encoding=UTF-8
Hmm, really?
$ pwd
/pub/git/git.git
$ git check-attr encoding git-gui/po/xx.po
git-gui/xx/ja.po: encoding: UTF-8
$ git check-attr encoding git-gui/funk/po/xx.po
git-gui/funk/po/xx.po: encoding: US-ASCII