|
|
@ -226,6 +226,11 @@ func HTTP(ctx *context.Context) { |
|
|
|
models.EnvPusherID + fmt.Sprintf("=%d", authUser.ID), |
|
|
|
models.ProtectedBranchRepoID + fmt.Sprintf("=%d", repo.ID), |
|
|
|
} |
|
|
|
|
|
|
|
if !authUser.KeepEmailPrivate { |
|
|
|
environ = append(environ, models.EnvPusherEmail+"="+authUser.Email) |
|
|
|
} |
|
|
|
|
|
|
|
if isWiki { |
|
|
|
environ = append(environ, models.EnvRepoIsWiki+"=true") |
|
|
|
} else { |
|
|
|