Skip to content

Commit

Permalink
Add file descriptions for submodule scripts (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
mspang authored Jul 7, 2020
1 parent fd0e531 commit 8f45112
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/helpers/pull_submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# limitations under the License.
#

# Internal script for pull_submodules.sh. Not intended to be used directly.

set -e

CHIP_ROOT="$(dirname "$0")/../.."
Expand Down
3 changes: 3 additions & 0 deletions scripts/helpers/pull_submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# limitations under the License.
#

# Helper script to update all initialized submodules to the current tip of the
# branch specified in .gitmodules.

set -e

CHIP_ROOT="$(dirname "$0")/../.."
Expand Down
3 changes: 3 additions & 0 deletions scripts/helpers/rename_submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# limitations under the License.
#

# Temporary transition script to remove submodules added with previous names
# and re-add them with the new names.

CHIP_ROOT="$(dirname "$0")/../.."

if [[ ! -e "$CHIP_ROOT/.git" ]]; then
Expand Down

0 comments on commit 8f45112

Please sign in to comment.