diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2018-08-31 09:24:57 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2018-08-31 09:25:43 +0900 |
commit | b270e4b740a3b974bd5029fae224edc8ec088025 (patch) | |
tree | c0020711f7c820fedd4fe0f858dfd777bf15642e /tools | |
parent | 96beadbbc1a49f1b0eade46874bf57eb60384815 (diff) | |
parent | af547cf00d79f1233464aadb76ad381be7f8887f (diff) | |
download | jgit-b270e4b740a3b974bd5029fae224edc8ec088025.tar.gz jgit-b270e4b740a3b974bd5029fae224edc8ec088025.zip |
Merge branch 'stable-4.7' into stable-4.8
* stable-4.7:
Bazel: Use hyphen instead of underscore in external repository names
Bazel: Format all build files with buildifier 0.15.0
ChangeIdUtilTest: Remove unused notestCommitDashV
Change-Id: I414ade902dc38b696c566dd604000e3d289f3973
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bazlets.bzl | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/tools/bazlets.bzl b/tools/bazlets.bzl index e14e488492..f97b72c828 100644 --- a/tools/bazlets.bzl +++ b/tools/bazlets.bzl @@ -1,17 +1,16 @@ NAME = "com_googlesource_gerrit_bazlets" def load_bazlets( - commit, - local_path = None - ): - if not local_path: - native.git_repository( - name = NAME, - remote = "https://gerrit.googlesource.com/bazlets", - commit = commit, - ) - else: - native.local_repository( - name = NAME, - path = local_path, - ) + commit, + local_path = None): + if not local_path: + native.git_repository( + name = NAME, + remote = "https://gerrit.googlesource.com/bazlets", + commit = commit, + ) + else: + native.local_repository( + name = NAME, + path = local_path, + ) |