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

Re: [patch] gitignore: warn about pointless syntax

From
Thomas Rast <trast@student.ethz.ch>
Date
Jan 9, 2012, 13:44 UTC
Message-ID
<87vcolrnw2.fsf@thomas.inf.ethz.ch>
In-Reply-To
<alpine.LNX.2.01.1201091233050.28805@frira.zrqbmnf.qr>
Jan Engelhardt <jengelh@medozas.de> writes:
Show 6 quoted lines
> parent eac2d83247ea0a265d923518c26873bb12c33778 (v1.7.9-rc0)
> commit b629bde461aeb178b257ab7e0f6c180f69f98cb0
> Author: Jan Engelhardt <jengelh@medozas.de>
> Date:   Mon Jan 9 12:30:07 2012 +0100
>
> gitignore: warn about pointless syntax
[...]
> -- 
> # Created with git-export-patch

Are you the author of this tool? The format is bogus in so far as it causes git-am to insert the above lines into the git commit message, as in:

    $ git am -3 < gitignore-patch.mbox
    Applying: gitignore: warn about pointless syntax
    $ git show
    commit 59bea4d9a1de3b3b9c0139de4298ffd9d9431457
    Author: Jan Engelhardt <jengelh@medozas.de>
    Date:   Mon Jan 9 12:34:12 2012 +0100
        gitignore: warn about pointless syntax
        
        parent eac2d83247ea0a265d923518c26873bb12c33778 (v1.7.9-rc0)
        commit b629bde461aeb178b257ab7e0f6c180f69f98cb0
        Author: Jan Engelhardt <jengelh@medozas.de>
        Date:   Mon Jan 9 12:30:07 2012 +0100
        
        gitignore: warn about pointless syntax
    [...]

So using this tool over format-patch is just a pointless cause of manual fixup work.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jan Engelhardt
Message 2 of 2 in “gitignore: warn about pointless syntax”
  1. gitignore: warn about pointless syntaxJan Engelhardt, Jan 9, 2012
  2. Thomas RastJan 9, 2012

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.