base_commit is to find where a branch start from master, it's not for master.
Signed-off-by: Li Yuanchao lyc163mail@163.com --- sbin/auto_submit | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sbin/auto_submit b/sbin/auto_submit index dcf5b80..595053e 100755 --- a/sbin/auto_submit +++ b/sbin/auto_submit @@ -64,6 +64,8 @@ class AutoSubmit end
def get_argvs_for_competition(real_argvs, mirror_dir, branch, commit_id) + return if branch == 'master' + argvs_for_base = Array.new(real_argvs) author_email = %x(git -C #{mirror_dir} log --format=%ae -1 #{commit_id}).chomp committer_email = %x(git -C #{mirror_dir} log --format=%ce -1 #{commit_id}).chomp