Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 28, 2007
  1. @spearce

    Teach for-each-ref about a little language called Tcl.

    spearce authored Junio C Hamano committed
    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 <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.