projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce20eae
)
Scm/Git/Repo.js
author
Alan Knowles
<alan@akbkhome.com>
Sat, 17 Sep 2011 04:19:44 +0000
(12:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 17 Sep 2011 04:19:44 +0000
(12:19 +0800)
Scm/Git/Repo.js
patch
|
blob
|
history
diff --git
a/Scm/Git/Repo.js
b/Scm/Git/Repo.js
index
570832b
..
4ceba2f
100644
(file)
--- a/
Scm/Git/Repo.js
+++ b/
Scm/Git/Repo.js
@@
-661,7
+661,7
@@
Repo = XObject.define(
- git: function(args_in)
+ git: function(args_in
,env
)
{
// convert arguments.
@@
-699,8
+699,8
@@
Repo = XObject.define(
print( args.join(" "));
}
-
- var env
= [ "HOME=" + GLib.get_home_dir() ]
;
+ env = env || [];
+ var env
.push( "HOME=" + GLib.get_home_dir() )
;
// do not need to set gitpath..
//if (File.exists(this.repo + '/.git/config')) {
//env.push("GITPATH=" + this.repo );