[darcs-devel] [issue1579] --diff-opts can't contain multiple options
Trent W. Buck
bugs at darcs.net
Fri Aug 28 02:18:01 UTC 2009
New submission from Trent W. Buck <trentbuck at gmail.com>:
The following doesn't DWIM. I wanted to set the unified context size
to be huge, i.e. effectively the entire file.
$ darcs diff --from-tag . --diff-opts '-wpurNd -U 999' tests/check.sh >/dev/null
diff: invalid option -- ' '
diff: Try `diff --help' for more information.
But this isn't working because Darcs isn't splitting on whitespace.
That is, it's doing
diff '-wpurNd -U 200' x y
When what I wanted was
diff '-wpurNd' '-U' '200' x y
nosy: darcs-devel, dmitry.kurochkin, kowey, twb
title: --diff-opts can't contain multiple options
Darcs bug tracker <bugs at darcs.net>
More information about the darcs-devel