mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 12:53:52 -05:00
This is mostly a refactor, but it fixes a bug where we could end up with a push ref but not a pull ref when the underlying remote didn't exist, resulting in a "Push:" header but not a "Pull:" header, which is nonsensical. This changes it to produce a "Pull:" header but not a "Push:" header, which is arguably still incorrect, but at least makes logical sense.