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

Re: t0008-ignores failure

From
Junio C Hamano <gitster@pobox.com>
Date
May 30, 2013, 02:21 UTC
Message-ID
<7vzjvdp5q8.fsf@alter.siamese.dyndns.org>
In-Reply-To
<51A6A7B7.4010802@gmail.com>
Karsten Blees <karsten.blees@gmail.com> writes:
Show 5 quoted lines
> I realize colon was chosen to mimic git-check-attr, however,
> check-attr prints relative paths only (I think?).
>
> How about using TAB or '|' instead? AFAICT, these are typically
> not used in paths or glob patterns.

The primary reason to use ':' in "check-ignore -v" is to mimic the output format of "grep -n".

Emacs users can then run the commands like check-attr/check-ignore with "M-x find-grep" (or "M-x compile"), the output format is recognized by the editor, and the user can jump around with \C-x` to view hits.

I do not use vim myself, but I would be mildly surprised if there isn't a similar feature there.

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Previous: Karsten BleesNext: Jeff King
Message 2 of 8 in “t0008-ignores failure (was: Git for Windows 1.8.3)”
  1. Karsten BleesMay 30, 2013
  2. Junio C HamanoMay 30, 2013
  3. Jeff KingMay 30, 2013
  4. Jeff KingMay 30, 2013
  5. Johannes SixtMay 30, 2013
  6. Johannes SchindelinMay 30, 2013
  7. Pat ThoytsMay 30, 2013
  8. Johannes SchindelinMay 30, 2013

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.