- zstyle ':vcs_info:git*' formats "%c%u%%F{$p}%r/%b%%F{$n}/%%F{$d}%S%%f"
- zstyle ':vcs_info:git*' actionformats "%%F{$r}(%a)%f %c%u%%F{$p}%r/%b%f/%%F{$d}%S%f"
+ zstyle ':vcs_info:git*' get-revision true
+ local gitformat="%c%u%F{$p}%r%F{$n} %F{$c}%7.7i%F{$n}:%F{$p}%b%F{$n} %F{$d}%S%f"
+ zstyle ':vcs_info:git*' formats $gitformat
+ zstyle ':vcs_info:git*' get-unapplied true
+ local patchformat=' %n/%a'
+ zstyle ':vcs_info:git*' patch-format $patchformat
+ zstyle ':vcs_info:git*' nopatch-format $patchformat
+ zstyle ':vcs_info:git*+post-backend:*' hooks prompt_arrows_revertfix
+ zstyle ':vcs_info:git*' actionformats "%F{$r}(%a%m)%f $gitformat"