projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb18787
)
Scm/Git/Repo.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 11 Sep 2011 23:49:42 +0000
(07:49 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 11 Sep 2011 23:49:42 +0000
(07:49 +0800)
Scm/Git/Repo.js
patch
|
blob
|
history
diff --git
a/Scm/Git/Repo.js
b/Scm/Git/Repo.js
index
c351719
..
96f5879
100644
(file)
--- a/
Scm/Git/Repo.js
+++ b/
Scm/Git/Repo.js
@@
-40,11
+40,13
@@
Repo = XObject.define(
return this.branches;
}
this.branches = {};
+
var bl = this.git([ 'branch', {
'no-color' : true,
'verbose' : true,
'a' : true
}]).split("\n");
+
bl.forEach(function(line) {
// * master 61e7e7d oneliner
var active = line[0]=='*';