Johannes Sixt [off-list ref] writes:
Jeff King schrieb:
quoted
On Wed, Mar 10, 2010 at 02:14:03PM -0800, Shawn O. Pearce wrote:
quoted
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."