diff --git a/cmd/git-sync/main.go b/cmd/git-sync/main.go index 832bb0b..fbdd918 100644 --- a/cmd/git-sync/main.go +++ b/cmd/git-sync/main.go @@ -693,7 +693,7 @@ func runCommandWithStdin(ctx context.Context, cwd, stdin, command string, args . } func setupGitAuth(ctx context.Context, username, password, gitURL string) error { - log.V(1).Info("setting up git credential cache") + log.V(1).Info("setting up git credential store") _, err := runCommand(ctx, "", *flGitCmd, "config", "--global", "credential.helper", "store") if err != nil { diff --git a/test_e2e.sh b/test_e2e.sh index baebdca..d3ae055 100755 --- a/test_e2e.sh +++ b/test_e2e.sh @@ -643,7 +643,7 @@ GIT_SYNC \ --rev=HEAD \ --root="$ROOT" \ --dest="link" \ - > "$DIR"/log."$TESTCASE" 2>&1 + > "$DIR"/log."$TESTCASE" 2>&1 || true # check for failure assert_file_absent "$ROOT"/link/file # run with askpass_git with correct password @@ -664,8 +664,6 @@ assert_link_exists "$ROOT"/link assert_file_exists "$ROOT"/link/file assert_file_eq "$ROOT"/link/file "$TESTCASE 1" # Wrap up -remove_sync_container -wait pass ##############################################