{"thread":{"id":"19788","subject":"[PATCH QGit] Print HEAD instead of Head for the current branch in the status line","startedAt":"2009-06-12T12:07:57Z","lastAt":"2009-06-12T12:07:57Z","messageCount":1,"participants":["Markus Heidelberg"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"116149","messageId":"1244808481-13012-3-git-send-email-markus.heidelberg@web.de","threadId":"19788","inReplyTo":null,"subject":"[PATCH QGit] Print HEAD instead of Head for the current branch in the status line","fromName":"Markus Heidelberg","fromEmail":"markus.heidelberg@web.de","sentAt":"2009-06-12T12:07:57Z","receivedAt":"2009-06-12T12:07:57Z","isPatch":true,"sender":{"key":"markus.heidelberg@web.de","avatar":"https://avatars.githubusercontent.com/u/6334512?v=4"},"body":"HEAD is the correct identifier for the currently checked out branch in\ngit terminology.\n\nSigned-off-by: Markus Heidelberg <markus.heidelberg@web.de>\n---\n src/git.cpp |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/src/git.cpp b/src/git.cpp\nindex 357383d..a20bf0d 100644\n--- a/src/git.cpp\n+++ b/src/git.cpp\n@@ -594,7 +594,7 @@ const QString Git::getRevInfo(SCRef sha) {\n \n \tQString refsInfo;\n \tif (type & BRANCH) {\n-\t\tconst QString cap(type & CUR_BRANCH ? \"Head: \" : \"Branch: \");\n+\t\tconst QString cap(type & CUR_BRANCH ? \"HEAD: \" : \"Branch: \");\n \t\trefsInfo =  cap + getRefName(sha, BRANCH).join(\" \");\n \t}\n \tif (type & RMT_BRANCH)\n-- \n1.6.3.2.236.ge505d\n"}]}