projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a043f53
)
remove duplicated git project checking
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 13 Aug 2012 02:04:57 +0000
(10:04 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 13 Aug 2012 02:04:57 +0000
(10:04 +0800)
RpmGitRepository will check the git project structure, so we dont
need check once again.
gitbuildsys/cmd_export.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_export.py
b/gitbuildsys/cmd_export.py
index
856b41f
..
862d2a9
100644
(file)
--- a/
gitbuildsys/cmd_export.py
+++ b/
gitbuildsys/cmd_export.py
@@
-72,9
+72,6
@@
def do(opts, args):
if not os.path.exists("%s/packaging" % workdir):
msger.error('No packaging directory, so there is nothing to export.')
- if not os.path.isdir("%s/.git" % workdir):
- msger.error('Not a git repository (%s), aborting' % workdir)
-
# Only guess spec filename here, parse later when we have the correct
# spec file at hand
specfile = utils.guess_spec(workdir, opts.spec)