diff options
| author | Kevin Boulain <kevinboulain@gmail.com> | 2018-10-06 17:01:58 +0200 |
|---|---|---|
| committer | Kevin Boulain <kevinboulain@gmail.com> | 2018-10-06 18:40:02 +0200 |
| commit | 948bf699b23d3cb756a17f651a90b240facc166c (patch) | |
| tree | 319bc54ac267c60bf75fa973688eec99f3e22c43 /test | |
| parent | 3eebf83bf868f8ce67cfdc779d08e28a6dcb8126 (diff) | |
magit-get-current-branch may not be bound or return anything
It's probably better to try to import the required packages than to
check if it is bound because the user may not load magit itself.
Also fallback on rev-parse to display something in case the branch
isn't available (for example, detached HEAD).
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
