projects
/
tools
/
depanneur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16450f
)
return directly if specified specfile is not in a git project
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Wed, 17 Oct 2012 07:59:59 +0000
(15:59 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 18 Oct 2012 06:48:07 +0000
(14:48 +0800)
Also change the msg type from debug to warning.
Change-Id: Ib147d051289842df355e0fc16ff1b461f8594251
depanneur
patch
|
blob
|
history
diff --git
a/depanneur
b/depanneur
index 4f0827c3b361470a84fcfaa5de11e2be64a42d8b..970b97a96ff88ef3acbb60817cc50de527ce4e0e 100755
(executable)
--- a/
depanneur
+++ b/
depanneur
@@
-492,7
+492,8
@@
sub prepare_git {
my $current_rev = '';
if (! -e "$base/.git") {
- debug("not a git repo: $base/.git!!");
+ warning("not a git repo: $base/.git!!");
+ return;
} else {
my $commit_id;
if ($commit eq "") {