summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorZsombor <gzsombor@users.noreply.github.com>2017-08-24 14:30:27 +0200
committerLauris BH <lauris@nix.lv>2017-08-24 15:30:27 +0300
commitda230a287264d38156e950a3149e43f65599e65b (patch)
tree4c5f4d16186f2d201515f77fdf99e9d3fc90df95 /modules
parent174255e74ee2c07e685913ab8bce08fc046569f0 (diff)
downloadgitea-da230a287264d38156e950a3149e43f65599e65b.tar.gz
gitea-da230a287264d38156e950a3149e43f65599e65b.zip
Add possibility to record branch or tag information in an issue (#780)
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/repo_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index 58dcf468ef..681a478d3b 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -194,6 +194,7 @@ func (f *NewSlackHookForm) Validate(ctx *macaron.Context, errs binding.Errors) b
type CreateIssueForm struct {
Title string `binding:"Required;MaxSize(255)"`
LabelIDs string `form:"label_ids"`
+ Ref string `form:"ref"`
MilestoneID int64
AssigneeID int64
Content string