diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-10-15 20:19:06 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-15 20:24:14 -0700 |
commit | b3db9bb48a555e7e20aeb3c0a14316a83797b0a3 (patch) | |
tree | dfae3cc0ab69afe1a975c3a9969216f661dcca32 /translations/subsurface_it_IT.ts | |
parent | f96299ea942ac91976f576bc2e1b2db76ba4c72e (diff) | |
download | subsurface-b3db9bb48a555e7e20aeb3c0a14316a83797b0a3.tar.gz |
Use git rev-parse --symbolic-full-name to get the HEAD target ref
This will prevent us trying to depend on a file that doesn't exist in
case someone goes on a detached HEAD. For example, this could happen
during a bisect.
(detached head) $ git rev-parse --symbolic-full-name HEAD
HEAD
(master) $ git rev-parse --symbolic-full-name HEAD
refs/heads/master
This will break on a packed ref, though.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'translations/subsurface_it_IT.ts')
0 files changed, 0 insertions, 0 deletions