git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-gui: Fix file name pattern in .gitattributes.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 24, 2009, 08:44 UTC
Message-ID
<7vskm4jkbk.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1235462493-8761-1-git-send-email-j6t@kdbg.org>
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
Previous: Johannes SixtNext: Johannes Sixt
Message 2 of 6 in “git-gui: Fix file name pattern in .gitattributes.”
  1. git-gui: Fix file name pattern in .gitattributes.Johannes Sixt, Feb 24, 2009
  2. Junio C HamanoFeb 24, 2009
  3. Johannes SixtFeb 24, 2009
  4. Junio C HamanoFeb 24, 2009
  5. 1/2 gitattributes.txt: Path matching rules are explained in gitignore.txtJohannes Sixt, Feb 25, 2009
  6. Johannes SixtFeb 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.