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

Re: Git and cogito uses different exclude files

From
Junio C Hamano <junkio@cox.net>
Date
Sep 16, 2005, 16:43 UTC
Message-ID
<7vfys5ote8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050916104430.GA25169@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 5 quoted lines
>> The latest StGIT snapshot uses .git/info/exclude. Probably next week I
>> will make a new StGIT release.
>
> So does Cogito now. ;-) It still looks at .git/exclude as well and gives
> warning if it exists.

Late last night I could not find in the list archive the "list consensus" I used to justify what 'git-status' does in this log message:

    Message-ID: <7vfysw89do.fsf@assigned-by-dhcp.cox.net>
    From: Junio C Hamano <junkio@cox.net>
    Subject: [PATCH] Teach git-status-script about git-ls-files --others
    Date: Fri, 26 Aug 2005 18:18:59 -0700
    When there is non-empty $GIT_DIR/info/exclude file, use it along
    with .gitignore per-directory exclude pattern files (which was
    a convention agreed on the list while ago and is compatible with
    Cogito) to generate a list of ignored files as well.
    Signed-off-by: Junio C Hamano <junkio@cox.net>

I do remember checking Cogito and StGIT and making sure the use of .gitignore is consistent with you two, but I do not remember if we had consensus on info/exclude now. It could be that I was just hallucinating back then and ended up forcing this change onto you and your users by mistake in this round.

Anyway, thanks both.
Previous: Petr BaudisNext: Petr Baudis
Message 4 of 6 in “Git and cogito uses different exclude files”
  1. Pierre OssmanSep 16, 2005
  2. Catalin MarinasSep 16, 2005
  3. Petr BaudisSep 16, 2005
  4. Junio C HamanoSep 16, 2005
  5. Petr BaudisSep 17, 2005
  6. Sam RavnborgSep 17, 2005

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.