summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorAli Utku Selen <aliutku.selen@sonyericsson.com>2012-01-25 10:51:12 +0100
committerShawn O. Pearce <sop@google.com>2012-03-12 12:25:40 -0700
commit76abcc1d1ea2da6cf0ce381486e2f9bf4ca55c36 (patch)
tree99bb142cb8baeb9f3b0210dee1457f854ea985ba /project.py
parentd3153825723b2bec3476e84f2e423c646fd4c598 (diff)
downloadgit-repo-76abcc1d1ea2da6cf0ce381486e2f9bf4ca55c36.tar.gz
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
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
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):
691 di = self.work_git.DiffZ('diff-index', '-M', '--cached', HEAD) 691 di = self.work_git.DiffZ('diff-index', '-M', '--cached', HEAD)
692 df = self.work_git.DiffZ('diff-files') 692 df = self.work_git.DiffZ('diff-files')
693 do = self.work_git.LsOthers() 693 do = self.work_git.LsOthers()
694 if not rb and not di and not df and not do: 694 if not rb and not di and not df and not do and not self.CurrentBranch:
695 return 'CLEAN' 695 return 'CLEAN'
696 696
697 out = StatusColoring(self.config) 697 out = StatusColoring(self.config)