Junio C Hamano wrote:
- Learn the itches David and other people have, that the current git Porcelain-ish does not scratch well, and enrich Documentation/technical with real-world working scripts built around plumbing.
Isn't this how git has been developed since day one, more or less? If a command is missing, it gets added as a shell-script. I agree with you on the "pipes from this sent here does this, and look how useful it is" lectures are gone since many commands were rewritten. Otoh, they're gone because they now instead provide examples on how to interface with the libified parts of git, so it's not a loss per se, just a switch in what it teaches.
I also agree with David that shell is much more fun to muck around with and prototype in, because you see results to much faster. However, since our plumbing is so rock-solid (and getting extended with --stdin options to more and more commands), I see no reason why we shouldn't have a "how to extend git" with the old shell-based porcelain scripts up somewhere at the web. Perhaps it would kill two birds with one stone and increase the addition of new utilities to git, while at the same time keeping the already rewritten commands in C.
Btw, the old shell-versions still work with the new plumbing (well, mostly anyways). They just have problems with filenames and revisions with spaces and special chars and things like that, same as they've always had.
-- Andreas Ericsson andreas.ericsson@xxxxxx OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html