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

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

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:44:11

Possibly related (same subject, not in this thread)

Robin Rosenberg [off-list ref] writes:
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.
[...]
+		if [ -d "$g/../.dotest" ]
[...]
+		elif [ -f "$g/.dotest-merge/interactive" ]
[...]
+		elif [ -d "$g/.dotest-merge" ]
Hmmm... is it time to ressurect "git explain" / "git info" / "git state"
command idea, as to not need to harcode info about state in scripts,
putting it in only one place?

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help