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

Re: wishlist: git gui not listing untracked files in unstaged list

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Mar 11, 2010, 12:52 UTC
Message-ID
<m24oknc95g.fsf@igel.home>
In-Reply-To
<4B9896D4.2020106@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 15 quoted lines
> Jeff King schrieb:
>> On Wed, Mar 10, 2010 at 02:14:03PM -0800, Shawn O. Pearce wrote:
>>> I'd say its git-gui, yes?  Doesn't my shell automatically do
>>> --exclude-from=~/my.list for me?  Its not the command's job
>>> to do that expansion.
>> 
>> It depends on the shell. Bash will expand it in _some_ cases (but not
>> this one). Dash never will:
>> 
>>   $ echo $BASH_VERSION
>>   4.1.0(1)-release
>>   $ echo foo=~/foo ;# expands
>>   foo=/home/peff/foo
>
> This is wrong, FWIW.
It's a bash extension and disabled in POSIX mode.
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Jeff King
Message 13 of 13 in “wishlist: git gui not listing untracked files in unstaged list”
  1. MALAISE PascalMar 10, 2010
  2. Junio C HamanoMar 10, 2010
  3. Shawn O. PearceMar 10, 2010
  4. MALAISE PascalMar 10, 2010
  5. Patrick HigginsMar 10, 2010
  6. Jeff KingMar 10, 2010
  7. Shawn O. PearceMar 10, 2010
  8. Junio C HamanoMar 10, 2010
  9. Jeff KingMar 10, 2010
  10. Jeff KingMar 10, 2010
  11. Johannes SixtMar 11, 2010
  12. Jeff KingMar 11, 2010
  13. Andreas SchwabMar 11, 2010

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.