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

Re: Quick question

From
RSRadoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
Date
Feb 14, 2006, 01:50 UTC
Message-ID
<43F13776.9000501@gorzow.mm.pl>
In-Reply-To
<7vy80eydq0.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 16 quoted lines
> With the git.git repository itself, I tried:
> 
> $ cat /var/tmp/i
> *.c
> $ git ls-files -i -X /var/tmp/i | head -n 6
> apply.c
> arm/sha1.c
> blob.c
> cat-file.c
> check-ref-format.c
> checkout-index.c
> 
> So I am not sure what you mean.  You wanted to "display ignored
> files of the whole project", right?  I am getting arm/sha1.c
> here in my output, so I do not understand the issue here...
> 

Wrong. I wanted to display files that are ignored and not checked in. (unlike your example)

That's why I used the -o (--others).

Try your example with git repo's .gitignore and any .o file. I would like to use it for backup~ hunting purposes in a script and not have to worry about find and other less portable tools.

-- 
GPG Key id:  0xD1F10BA2
Fingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2

AstralStorm
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 9 in “Quick question”
  1. Radoslaw SzkodzinskiFeb 13, 2006
  2. Linus TorvaldsFeb 13, 2006
  3. Radoslaw SzkodzinskiFeb 13, 2006
  4. Alex RiesenFeb 13, 2006
  5. Junio C HamanoFeb 14, 2006
  6. Junio C HamanoFeb 14, 2006
  7. Radoslaw SzkodzinskiFeb 14, 2006
  8. Junio C HamanoFeb 14, 2006
  9. Radoslaw SzkodzinskiFeb 14, 2006

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.