Robin Rosenberg [off-list ref] writes:
quoted hunk
Signed-off-by: Robin Rosenberg <redacted>
---
contrib/completion/git-prompt.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh
index 341422a..756a951 100644
--- a/contrib/completion/git-prompt.sh
+++ b/contrib/completion/git-prompt.sh
@@ -282,6 +282,8 @@ __git_ps1 ()
r="|MERGING"
elif [ -f "$g/CHERRY_PICK_HEAD" ]; then
r="|CHERRY-PICKING"
+ elif [ -f "$g/REVERT_HEAD" ]; then
+ r="|REVERTING"
Obviously a good thing to do; thanks.
elif [ -f "$g/BISECT_LOG" ]; then
r="|BISECTING"
fi