From 76abcc1d1ea2da6cf0ce381486e2f9bf4ca55c36 Mon Sep 17 00:00:00 2001 From: Ali Utku Selen Date: Wed, 25 Jan 2012 10:51:12 +0100 Subject: repo status to print project name on clean gits repo status just prints "# on branch oprofile" if you have branched in clean status. This doesn't really tell which branch is meant. Instead we can use the same syntax with modified gits which will give us detailed information. Change-Id: I55fe5154d278e10a814281dd2ba501ec6e956730 --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project.py') diff --git a/project.py b/project.py index 60fa510a..1c5f051b 100644 --- a/project.py +++ b/project.py @@ -691,7 +691,7 @@ class Project(object): di = self.work_git.DiffZ('diff-index', '-M', '--cached', HEAD) df = self.work_git.DiffZ('diff-files') do = self.work_git.LsOthers() - if not rb and not di and not df and not do: + if not rb and not di and not df and not do and not self.CurrentBranch: return 'CLEAN' out = StatusColoring(self.config) -- cgit v1.2.3-54-g00ecf