gitcmds: Use rev-parse --symbolic-full-name
commite2526f60a46dfd3fa4fb21a8b04a53b0d5cf3d7a
authorDavid Aguilar <davvid@gmail.com>
Wed, 10 Mar 2010 07:56:46 +0000 (9 23:56 -0800)
committerDavid Aguilar <davvid@gmail.com>
Wed, 10 Mar 2010 19:25:29 +0000 (10 11:25 -0800)
tree3dbd3b532133e58b4cc75a872c3dd755fea4198c
parent0b2c607df2f3aa5f453bfcaa30853e29014f86b5
gitcmds: Use rev-parse --symbolic-full-name

There's not much overhead in calling out to git now that
we use a stat cache on .git/HEAD.  The Python implementation
is still available as _read_git_head() and is still used
for the 'git init' case.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/gitcmds.py