]> git.ipfire.org Git - thirdparty/git.git/commit - quote.c
Teach for-each-ref about a little language called Tcl.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 28 Jan 2007 07:39:13 +0000 (02:39 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 28 Jan 2007 21:00:26 +0000 (13:00 -0800)
commit5558e55c06a1e897f3064f0c8a343d5c9858f6b2
tree7bc79784574ecdba84ff23a67ea7263f88f86240
parentcace16fdcb5d1a3518f92e04c65e78f06b0cd051
Teach for-each-ref about a little language called Tcl.

Love it or hate it, some people actually still program in Tcl.  Some
of those programs are meant for interfacing with Git.  Programs such as
gitk and git-gui.  It may be useful to have Tcl-safe output available
from for-each-ref, just like shell, Perl and Python already enjoy.

Thanks to Sergey Vlasov for pointing out the horrible flaws in the
first and second version of this patch, and steering me in the right
direction for Tcl value quoting.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-for-each-ref.txt
builtin-for-each-ref.c
quote.c
quote.h