summaryrefslogtreecommitdiffstats
path: root/modules/git/signature_gogit.go
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2022-08-30 21:15:45 -0500
committerGitHub <noreply@github.com>2022-08-30 21:15:45 -0500
commita48d6ba4b4be4207a2c78c36b095fb69938e5ae5 (patch)
tree6b77af95e14bb9216b6b5dca321a5804a63cfced /modules/git/signature_gogit.go
parent3edc14b687626f5ca1b4ecbe1d0d400b058f8dac (diff)
downloadgitea-a48d6ba4b4be4207a2c78c36b095fb69938e5ae5.tar.gz
gitea-a48d6ba4b4be4207a2c78c36b095fb69938e5ae5.zip
Go 1.19 format (#20758)
* 1.19 gofumpt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Change CSV test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Commit whitespace fixes from @zeripath Co-authored-by: zeripath <art27@cantab.net> * Update emoji Signed-off-by: jolheiser <john.olheiser@gmail.com> * bump swagger & fix generate-swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules/git/signature_gogit.go')
-rw-r--r--modules/git/signature_gogit.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/git/signature_gogit.go b/modules/git/signature_gogit.go
index fe81cd97df..6f1c98420d 100644
--- a/modules/git/signature_gogit.go
+++ b/modules/git/signature_gogit.go
@@ -19,8 +19,10 @@ import (
type Signature = object.Signature
// Helper to get a signature from the commit line, which looks like these:
-// author Patrick Gundlach <gundlach@speedata.de> 1378823654 +0200
-// author Patrick Gundlach <gundlach@speedata.de> Thu, 07 Apr 2005 22:13:13 +0200
+//
+// author Patrick Gundlach <gundlach@speedata.de> 1378823654 +0200
+// author Patrick Gundlach <gundlach@speedata.de> Thu, 07 Apr 2005 22:13:13 +0200
+//
// but without the "author " at the beginning (this method should)
// be used for author and committer.
//