arl / tmux-gitbar

Git in your tmux status bar
GNU General Public License v3.0
170 stars 16 forks source link

Show when a rebase, bisect, am is in progress? #42

Closed arl closed 4 years ago

arl commented 7 years ago

Detect those special working tree status and show it in the bar?

arl commented 6 years ago

handle-special-states branch already detects correctly the rebase state and shows rebase in progress in tmux status bar, unit tests are implemented. As soon as integration tests are implemented, I'll merge it as it is more important than showing bisect or am repository states

arl commented 6 years ago

For bisecting state, it's actually quite simple to detect and could be added easily. After issuing git bisect start, 3 files are created under .git:

.git
├── BISECT_LOG
├── BISECT_NAMES
├── BISECT_START

$ cat .git/BISECT_LOG 
git bisect start  # bisect commands issues for this bisect session

$ cat .git/BISECT_NAMES  # ?

$ cat .git/BISECT_START 
develop # sha1/branch/tag representing the bisection start
arl commented 4 years ago

Closing because gitmux, aka the official replacement of tmux-gitbar supports that