Mark Lodato <lodatom@xxxxxxxxx> writes: > ... Besides, using GIT_INDEX_FILE as suggested > by Junio allows me to leave the original index file intact. Heh, that is what the Professionals use ;-) It is used by git-stash.sh for example. Aspiring Porcelain authors would benefit greatly by learning from some of the few remaining scripted Porcelain commands. With the recent rewriting to many of the originally scripted ones in C, it may have become somewhat harder to learn the plumbing mechanisms and techniques that way, but we still keep some older ones in contrib/examples directory for that purpose. -- 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