Git: Support alternative topics on detached HEAD
Git: Support alternative topics on detached HEAD

Use tag if applicable, otherwise use HEAD hash

Change-Id: I5c7298446e5a325a27d6d9b5effc02d32155b583
Reviewed-by: Tobias Hunger <012f8d714267bccc9d4766fbeace9f175fcc70c4@digia.com>

colede/qtcreator,danimo/qt-creator,danimo/qt-creator,richardmg/qtcreator,danimo/qt-creator,omniacreator/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,malikcjm/qtcreator,farseerri/git_code,farseerri/git_code,farseerri/git_code,malikcjm/qtcreator,xianian/qt-creator,kuba1/qtcreator,xianian/qt-creator,omniacreator/qtcreator,Distrotech/qtcreator,xianian/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,richardmg/qtcreator,xianian/qt-creator,danimo/qt-creator,kuba1/qtcreator,richardmg/qtcreator,xianian/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,AltarBeastiful/qt-creator,Distrotech/qtcreator,xianian/qt-creator,danimo/qt-creator,maui-packages/qt-creator,colede/qtcreator,farseerri/git_code,omniacreator/qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,duythanhphan/qt-creator,xianian/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,malikcjm/qtcreator,colede/qtcreator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,colede/qtcreator,omniacreator/qtcreator,xianian/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,omniacreator/qtcreator,darksylinc/qt-creator,Distrotech/qtcreator,farseerri/git_code,colede/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,richardmg/qtcreator,danimo/qt-creator,farseerri/git_code,maui-packages/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,darksylinc/qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,Distrotech/qtcreator,richardmg/qtcreator,malikcjm/qtcreator,colede/qtcreator,darksylinc/qt-creator,danimo/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,maui-packages/qt-creator,darksylinc/qt-creator,duythanhphan/qt-creator