Skip to content

Commit

Permalink
sets git local config for apply patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lhelontra committed Jan 27, 2018
1 parent 0cac978 commit a0a533a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_tensorflow/build_tensorflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit a0a533a

Please sign in to comment.