summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/repofiles/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repofiles/update.go b/modules/repofiles/update.go
index f7fa5f0289..a1a9c624d7 100644
--- a/modules/repofiles/update.go
+++ b/modules/repofiles/update.go
@@ -123,7 +123,7 @@ func detectEncodingAndBOM(entry *git.TreeEntry, repo *models.Repository) (string
// CreateOrUpdateRepoFile adds or updates a file in the given repository
func CreateOrUpdateRepoFile(repo *models.Repository, doer *models.User, opts *UpdateRepoFileOptions) (*structs.FileResponse, error) {
- // If no branch name is set, assume master
+ // If no branch name is set, assume default branch
if opts.OldBranch == "" {
opts.OldBranch = repo.DefaultBranch
}