-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sets git local config for apply patch
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,6 +143,8 @@ function download_tensorflow() | |
else | ||
cd tensorflow/ | ||
$BAZEL_BIN clean &>/dev/null | ||
|
||
# clean temp branch | ||
git reset --hard | ||
git clean -f -d | ||
git checkout master | ||
|
@@ -154,6 +156,10 @@ function download_tensorflow() | |
# creates a temp branch for apply some patches and reuse cloned folder | ||
git checkout -b __temp__ | ||
|
||
# sets git local config for apply patch | ||
git config user.email "[email protected]" | ||
git config user.name "temp" | ||
|
||
if [ "$TF_PATCH" == "yes" ]; then | ||
tf_patch || { | ||
log_failure_msg "error when apply patch" | ||
|