redo: only default to 'all' in the toplevel instance of redo.

We already did this in minimal/do, and redo-ifchange already did this, but
plain redo didn't.  This made constructs like:

	for d in *.x; do
		echo "${d%.x}"
	done | xargs redo

dangerous, because if there were no matching files, we'd try to 'redo all'.
This commit is contained in:
Avery Pennarun 2011-03-10 21:10:15 -08:00
commit 07af5d83f9
3 changed files with 5 additions and 2 deletions

View file

@ -1,2 +1,3 @@
redo-ifchange
redo-ifcreate
redo