projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c3ba8
)
remove unused os.getcwd()
author
Johannes Berg
<johannes@sipsolutions.net>
Sat, 30 Mar 2013 22:34:09 +0000
(23:34 +0100)
committer
Johannes Berg
<johannes@sipsolutions.net>
Sat, 30 Mar 2013 22:34:23 +0000
(23:34 +0100)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
lib/git.py
patch
|
blob
|
history
diff --git
a/lib/git.py
b/lib/git.py
index 888ca2777f17680405f4634505098855a3884514..38411e39993f8f094c84acd3119b7ef58c73eb26 100644
(file)
--- a/
lib/git.py
+++ b/
lib/git.py
@@
-15,7
+15,6
@@
def _check(process):
_sha_re = re.compile('^[0-9a-fA-F]*$')
def rev_parse(rev='HEAD', tree=None):
- olddir = os.getcwd()
process = subprocess.Popen(['git', 'rev-parse', rev],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
close_fds=True, universal_newlines=True, cwd=tree)