Re: Basename matching during rename/copy detection
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 21, 2007, 13:22 UTC
- Message-ID
- <Pine.LNX.4.64.0706211418430.4059@racer.site>
- In-Reply-To
- <200706211344.47560.andyparkins@gmail.com>
Hi,
On Thu, 21 Jun 2007, Andy Parkins wrote:
> I open up gimp, draw a big red X and save it as new-button.png. Then I > copy that file to open-button.png and save-button.png, knowing that at > some point in the future, someone will come and replace those red-X > images with something appropriate.
So you have a couple of identical files in your repo, which are placeholders. That is quite different from what I criticised of being stupid.
Well, I would not have checked in the files in your place, but only one:
dumb-red-X.png
Then, my Makefile would have checked for the existence of, say, my-wonderful-ok-button.png, and if it does not exist yet, copy dumb-red-X.png to it.
Now, when somebody comes along, paining the prettiest ok button I ever saw, I copy that over the copy of dumb-red-X.png, and check it in.
It has the further bonus that I know exactly which buttons I have to find a suck^Wgifted artist for.
Ciao, Dscho