1. 29 Jul, 2018 1 commit
    • Thanh Ha's avatar
      git-prompt: fix error when multiple tags exist (#6998) · 5fa7824e
      Thanh Ha authored
      
      
      When a commit has multiple tags associated to it, the git-prompt will
      throw the following error:
      
      git_super_status:[:4: integer expression expected: v0.21.x\ntags/v0.21.5,
      git_super_status:[:7: integer expression expected: origin/v0.21.x,
      git_super_status:[:11: integer expression expected: origin/v0.21.x,
      git_super_status:[:14: integer expression expected: v0.21.x
      git_super_status:[:23: integer expression expected: v0.21.x
      
      This is due to the prompt expecting the tag field to be a single word
      with no spaces in between but if there are multiple tags the python
      script returns a string with ', ' space separated list of tags.
      This throws off the parser. The solution is to ensure that the python
      script returns a space-less string ensuring the git-prompt parser to
      properly parse the data.
      Signed-off-by: default avatarThanh Ha <zxiiro@linux.com>
      5fa7824e
  2. 30 Apr, 2018 1 commit
    • Oliver Baumann's avatar
      Parse branch-name for fresh repo (#6302) · 493c3095
      Oliver Baumann authored
      Inside a fresh git repo, i.e. immediately after a `git init`, usually no
      commit template exists yet. In this case, git renders a different
      status message than "Initial commit on". We should consider this message
      when attempting to parse out the branch name.
      
      Fixes #6301
      493c3095
  3. 17 Aug, 2015 1 commit
  4. 16 Aug, 2015 8 commits
  5. 10 Feb, 2015 1 commit
  6. 16 Jul, 2014 1 commit
  7. 04 Jun, 2014 1 commit
  8. 18 Apr, 2014 1 commit
    • Paweł Tomak's avatar
      Fix for Python3 · cee52283
      Paweł Tomak authored
      In Python3 without universal_newlines set to True
      output from Popen was byte-encoded.
      cee52283
  9. 22 Feb, 2014 2 commits
  10. 28 Apr, 2011 1 commit