Re: [PATCH] git-rebase.sh: Use POSIX/Susv command substitution instead of backticks
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 6, 2008, 00:59 UTC
- Message-ID
- <7vhcgm7vdx.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LSU.1.00.0802052305080.8543@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> And then you have to do it for all scripts in one go. Mind you, it is not > really complicated: just one call to perl.
Please do not do this. If other people have pending changes, "cleanup for clean-up's sake" would create conflicts for no good reason.
There are only two cases such a clean-up patch is good:
(1) When the maintainer is not yet accepting any patches after
a release-freeze and there is no pending patches from the
community, and/or if you can convince people with pending
patches to rebase on top of the clean-up because the
current codebase is so unmaintainably bad, then a
whole-tree clean-up patch should go in before anything
else, forcing everybody to rebase on top of it; (2) If you will be working on the code in an area, you may want
to have the first one in the series a "pure clean-up and
nothing else" of the whole area, and then build your real
changes on top. You still need to coordinate with people
whose patches may get hit by your clean-ups, but you have
to do this anyway because you will have conflicts from your
"real changes".Any other "clean-up patch" would result in a not-so-appreciated code churn. Please don't encourage it.