~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use git-rev-parse to find the local GIT repository
[stgit]
/
stgit
/
commands
/
mail.py
diff --git
a/stgit/commands/mail.py
b/stgit/commands/mail.py
index
7cc18bc
..
b3b7b49
100644
(file)
--- a/
stgit/commands/mail.py
+++ b/
stgit/commands/mail.py
@@
-419,7
+419,7
@@
def func(parser, options, args):
if options.cover:
tfile_list = [options.cover]
else:
if options.cover:
tfile_list = [options.cover]
else:
- tfile_list = [os.path.join(git.
base_dir
, 'covermail.tmpl'),
+ tfile_list = [os.path.join(git.
get_base_dir()
, 'covermail.tmpl'),
os.path.join(sys.prefix,
'share/stgit/templates/covermail.tmpl')]
os.path.join(sys.prefix,
'share/stgit/templates/covermail.tmpl')]
@@
-450,7
+450,7
@@
def func(parser, options, args):
if options.template:
tfile_list = [options.template]
else:
if options.template:
tfile_list = [options.template]
else:
- tfile_list = [os.path.join(git.
base_dir
, 'patchmail.tmpl'),
+ tfile_list = [os.path.join(git.
get_base_dir()
, 'patchmail.tmpl'),
os.path.join(sys.prefix,
'share/stgit/templates/patchmail.tmpl')]
tmpl = None
os.path.join(sys.prefix,
'share/stgit/templates/patchmail.tmpl')]
tmpl = None