]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
launch_here: rewrite git revision retrieval
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 23 Jan 2009 01:34:23 +0000 (02:34 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 23 Jan 2009 02:33:07 +0000 (03:33 +0100)
commitbe338a99e9bfdc2f196fbcfb391c2e6003231dea
treeafe8ba968dfd4041f2c2ef828e816dd78d2056be
parent5a70ef6befc3b74e21033f208be86d5aa0255d98
launch_here: rewrite git revision retrieval

Use low-level ('plumbing') git commands to retrieve the current
commit/revision/work tree status when we're being launched from a git
tree. This is faster (less shell escapes) and should work equally well
with all git versions (past, present and future).
launch_here.rb