Tags: taq/vim-git-branch-info
Tags
There were a bug when rebasing. On this situation HEAD just have a ha… …sh and not the information about the branches the plugin looks for. Thanks for Joachim Bargsten for warning me about this. I made a double check on the HEAD file. If there is not the information the script wants, a message about the condition is returned. If something also "explodes" there, there is a try/catch block. If detect this rebase/merge/bisect situation, the file will be always saved without the branch verification.
Argh, another bug fixed. When trying to write to a file different fro… …m the current one, it was not saved. That happened because I was trying to save the file without it's name, presuming if we tell to save to another file with :w the name was correct.It was fixed using expand("<afile>"). Btw, there was another bug when trying to save to an existing file and need to use the bang (!) with write. It was fixed checking if a bang command was used and executing the bang version if needed.
PreviousNext