Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: [PATCH (repost)] Improve bash prompt to detect merge / rebase in progress

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:44:11

Possibly related (same subject, not in this thread)

On Feb 7, 2008, at 7:34 AM, Shawn O. Pearce wrote:
Robin Rosenberg [off-list ref] wrote:
quoted
I sent a patch and Shawn modified it somewhat and posted the full  
modified
patch. Here is the same patch again (to make sure you get the  
right one). It
has a better comment than the one I sent recently.

-- robin

From 82a5b8d5b043ffc7c1950b391ec7ae69d575640b Mon Sep 17 00:00:00  
2001
From: Robin Rosenberg <redacted>
Date: Sun, 30 Sep 2007 02:20:45 +0200
Subject: [PATCH] Improve bash prompt to detect various states like  
an unfinished merge

This patch makes the git prompt (when enabled) show if a merge or a
rebase is unfinished. It also detects if a bisect is being done as
well as detached checkouts.

An uncompleted git-am cannot be distinguised from a rebase (the
non-interactive version). Instead of having an even longer prompt
we simply ignore that and hope the power users that use git-am knows
the difference.

Signed-off-by: Robin Rosenberg <redacted>
For what it's worth:

Acked-by: Shawn O. Pearce <redacted>
This improved prompt is great.  I already miss it each time I switch
back from next to master.

	Steffen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help