From 5e5e0a9a516c4f40202972aa8ee56e916ddb2245 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 20 Mar 2019 10:31:55 +0800 Subject: [PATCH] 1 --- scripts/construct/build_pb.py | 2 +- {githooks => scripts/githooks}/applypatch-msg | 0 {githooks => scripts/githooks}/commit-msg | 0 {githooks => scripts/githooks}/install.sh | 0 {githooks => scripts/githooks}/post-update | 0 {githooks => scripts/githooks}/pre-applypatch | 0 {githooks => scripts/githooks}/pre-commit | 0 {githooks => scripts/githooks}/pre-push | 0 {githooks => scripts/githooks}/pre-rebase | 0 {githooks => scripts/githooks}/prepare-commit-msg | 0 {githooks => scripts/githooks}/update | 0 11 files changed, 1 insertion(+), 1 deletion(-) rename {githooks => scripts/githooks}/applypatch-msg (100%) rename {githooks => scripts/githooks}/commit-msg (100%) rename {githooks => scripts/githooks}/install.sh (100%) rename {githooks => scripts/githooks}/post-update (100%) rename {githooks => scripts/githooks}/pre-applypatch (100%) rename {githooks => scripts/githooks}/pre-commit (100%) rename {githooks => scripts/githooks}/pre-push (100%) rename {githooks => scripts/githooks}/pre-rebase (100%) rename {githooks => scripts/githooks}/prepare-commit-msg (100%) rename {githooks => scripts/githooks}/update (100%) diff --git a/scripts/construct/build_pb.py b/scripts/construct/build_pb.py index 43e0149..b77500f 100644 --- a/scripts/construct/build_pb.py +++ b/scripts/construct/build_pb.py @@ -72,7 +72,7 @@ def rebuild(cpp_out, python_out, pb_files): print('build_protocol rebuild error:' + str(e)) def repair_githooks(): - os.system('/bin/bash ../tools/scripts/githooks/install.sh') + os.system('/bin/bash ../../third_party/tools/scripts/githooks/install.sh') parser = OptionParser(usage="%prog [options]") parser.add_option( diff --git a/githooks/applypatch-msg b/scripts/githooks/applypatch-msg similarity index 100% rename from githooks/applypatch-msg rename to scripts/githooks/applypatch-msg diff --git a/githooks/commit-msg b/scripts/githooks/commit-msg similarity index 100% rename from githooks/commit-msg rename to scripts/githooks/commit-msg diff --git a/githooks/install.sh b/scripts/githooks/install.sh similarity index 100% rename from githooks/install.sh rename to scripts/githooks/install.sh diff --git a/githooks/post-update b/scripts/githooks/post-update similarity index 100% rename from githooks/post-update rename to scripts/githooks/post-update diff --git a/githooks/pre-applypatch b/scripts/githooks/pre-applypatch similarity index 100% rename from githooks/pre-applypatch rename to scripts/githooks/pre-applypatch diff --git a/githooks/pre-commit b/scripts/githooks/pre-commit similarity index 100% rename from githooks/pre-commit rename to scripts/githooks/pre-commit diff --git a/githooks/pre-push b/scripts/githooks/pre-push similarity index 100% rename from githooks/pre-push rename to scripts/githooks/pre-push diff --git a/githooks/pre-rebase b/scripts/githooks/pre-rebase similarity index 100% rename from githooks/pre-rebase rename to scripts/githooks/pre-rebase diff --git a/githooks/prepare-commit-msg b/scripts/githooks/prepare-commit-msg similarity index 100% rename from githooks/prepare-commit-msg rename to scripts/githooks/prepare-commit-msg diff --git a/githooks/update b/scripts/githooks/update similarity index 100% rename from githooks/update rename to scripts/githooks/update