mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-28 05:46:45 -05:00
Show the branch name more prominently in "git status".
When not working on "master" branch, remind the user at the beginning of the status message, not at the end. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@@ -195,8 +195,8 @@ else
|
||||
fi
|
||||
if [ "$?" != "0" -a ! -f $GIT_DIR/MERGE_HEAD ]
|
||||
then
|
||||
sed -ne '/^#/p' .editmsg
|
||||
rm .editmsg
|
||||
rm -f .editmsg
|
||||
git-status-script
|
||||
exit 1
|
||||
fi
|
||||
case "$no_edit" in
|
||||
|
||||
Reference in New Issue
Block a user