aboutsummaryrefslogtreecommitdiff
path: root/models/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go
index ab8d9167..e4c73f3a 100644
--- a/models/action.go
+++ b/models/action.go
@@ -460,6 +460,7 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
opType = ACTION_PUSH_TAG
opts.Commits = &PushCommits{}
} else {
+ // TODO: detect branch deletion
// if not the first commit, set the compare URL.
if opts.OldCommitID == git.EMPTY_SHA {
isNewBranch = true