Skip to content

WIP: Move git as modules/git #5991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 226 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
6c18987
initial command
unknwon Nov 26, 2015
e97767e
migrate some commands
unknwon Nov 27, 2015
d86a90f
minor fix
unknwon Nov 27, 2015
19510da
more helpers
unknwon Nov 27, 2015
7445c6c
hide log
unknwon Dec 1, 2015
a77d3dc
add license and ci
unknwon Dec 1, 2015
615a33a
add simple tests
unknwon Dec 1, 2015
de77627
more APIs
unknwon Dec 2, 2015
05d41d5
improve log and clone repo command
unknwon Dec 9, 2015
d14b1e8
git fsck
unknwon Dec 9, 2015
4cc1cbb
complete migration from gogs module
unknwon Dec 10, 2015
1ffc4bc
readboferelimit
unknwon Dec 10, 2015
3835dd7
Handle windows case
unknwon Dec 13, 2015
ebd9fb2
speed up for getting a lot commits
unknwon Dec 14, 2015
e092efd
remove dep to gogs
unknwon Dec 14, 2015
2a390ae
support pure tag
unknwon Dec 14, 2015
ddc7293
fix get version on widnows
unknwon Dec 14, 2015
5cd57b9
fix #1
unknwon Dec 15, 2015
186b686
Update README.md
goldbattle Dec 24, 2015
9dc84c9
Merge pull request #2 from goldbattle/patch-1
unknwon Dec 24, 2015
d18ad23
try to fix Duplicate of files in directory (gogs#2254 )
novaeye Dec 25, 2015
1de2a32
change commitInfo.entry to commitInfo.entryName
novaeye Dec 25, 2015
c7a2974
remove commitInfo.id (not need anymore)
novaeye Dec 25, 2015
2617983
Merge pull request #3 from novaeye/patch-1
unknwon Dec 29, 2015
081966e
gogits/gogs#2373 500 when filename starts with ':'
unknwon Jan 11, 2016
d78e7ee
Fix regression causing no submodule info
nanoant Jan 13, 2016
919a66d
Do not fail in GetCommitsInfo with no .gitmodules
nanoant Jan 13, 2016
1193908
Merge pull request #4 from nanoant/patch/fix-submodule-info
unknwon Jan 14, 2016
f354a82
Add timeout safe check for fsck
unknwon Jan 28, 2016
3c8c495
fix compile error
unknwon Jan 28, 2016
8b98705
Fix to allow tags with '/' to be returned correctly
Feb 11, 2016
b924465
Merge pull request #6 from joshfng/fix-refendname
unknwon Feb 11, 2016
3b40eae
Minor fix for #6
unknwon Feb 11, 2016
1908316
Limit max goroutine number in per method call
unknwon Feb 22, 2016
a1c5096
gogits/gogs#2677 check order of detected chars for submodule
unknwon Feb 22, 2016
a244fe9
Able to set timeout for git pull
unknwon Mar 1, 2016
76e8cce
Able to detect get PR info for same repository
unknwon Mar 4, 2016
edf5c0c
Reverse the order of tags below git 2.0
moltam Mar 21, 2016
59330e2
Merge pull request #8 from moltam/feature/order-tags-below-git2
unknwon Mar 21, 2016
c6f4b6b
Fixed returning non empty tag list when there are no tags.
moltam Mar 23, 2016
731b9be
Merge pull request #9 from moltam/fix/empty-tag-list
unknwon Mar 23, 2016
0888f00
Added functions to handle checking out branches and moving files (#12)
richmahn Jun 1, 2016
1f1117c
Add support for abbreviated commit IDs (#10)
odinuge Jun 3, 2016
c61be78
Fixed incorrect creation of relative submodule URL (#14)
goriy Jun 27, 2016
1dad976
Minor fix for #14
unknwon Jun 27, 2016
7da4f5e
Add repository name as parent directory for archives
unknwon Jun 29, 2016
1b71bff
remove branch from repo (#15)
tanapoln Jul 3, 2016
db93fa5
gogits/gogs#2586 better approach to prevent iterate all commits
unknwon Jul 11, 2016
53bcb73
gogits/gogs#3302 remove hook script and recreate with proper permission
unknwon Jul 22, 2016
18dd87d
gogits/gogs#3007 only list server side Git hooks
unknwon Aug 10, 2016
efc90b5
gogits/gogs#3233 code clean up
unknwon Aug 11, 2016
313ce90
Use constant to replace strings
unknwon Aug 14, 2016
31d8d73
Add EMPTY_SHA constant
unknwon Aug 15, 2016
2a820b5
Detect and return ErrNotFound when get commit
unknwon Aug 15, 2016
f78bf3b
Minor code cleanup
unknwon Aug 16, 2016
7b206b5
Return ErrNotExist when ref is not valid
unknwon Aug 19, 2016
0a18ab0
CommitChanges: allow set both committer and author
unknwon Aug 27, 2016
5e0c133
archive: handle Windows path
unknwon Aug 30, 2016
424b048
Avoid creating an array for the sole purpose of counting elements
strk Aug 30, 2016
5ebab5d
Fix commit count with git version < 1.8.0
strk Aug 31, 2016
2ef563c
Avoid creating an array for the sole purpose of counting elements (#17)
unknwon Aug 31, 2016
b3009dc
commit: minor fix on bug cut
unknwon Aug 31, 2016
4eb2cc9
Add Rebase option to Pull
vvekic Oct 21, 2016
a5cddbf
Remove "sleep" usage
thibaultmeyer Oct 30, 2016
766747e
Link to go-gitea/git build status
strk Nov 6, 2016
a9d4aeb
Merge pull request #1 from strk/travis
lunny Nov 6, 2016
93f55fc
Merge pull request #2 from vvekic/master
tboerger Nov 7, 2016
046e473
Merge pull request #3 from 0xbaadf00d/fix/18-sleep-induced-slowness
lunny Nov 10, 2016
6e905d4
ask for go get from code.gitea.io/git (#4)
lunny Nov 11, 2016
747bdce
Fix travis import path (#6)
strk Nov 12, 2016
cddfff0
Fix variable name collision with import name (#5)
0xBAADF00D Nov 12, 2016
f2ef59b
Can set a custom max number of goroutine
0xBAADF00D Nov 12, 2016
a6a203b
Change const variable name
thibaultmeyer Nov 12, 2016
e9c0f82
Merge pull request #8 from 0xbaadf00d/feature/const-var-name
andreynering Nov 12, 2016
a59cf49
Added drone config
tboerger Nov 12, 2016
8313aec
Dropped travis configuration
tboerger Nov 12, 2016
f3790b0
Added default gitignore
tboerger Nov 12, 2016
b1571b1
Extended license file
tboerger Nov 12, 2016
5c7f018
Added lgtm config
tboerger Nov 12, 2016
37a094b
Added files for contributions, maintainers and DCO
tboerger Nov 12, 2016
5193bb4
Added editorconfig
tboerger Nov 12, 2016
5e4edba
Added github config folder
tboerger Nov 12, 2016
b242773
Fixed go formatting
tboerger Nov 13, 2016
cb14629
Added makefile
tboerger Nov 13, 2016
c05bfc8
Updated also the readme
tboerger Nov 13, 2016
0741f46
Disable linter for now, should be fixed later
tboerger Nov 13, 2016
61725ae
Added vendored dependencies
tboerger Nov 13, 2016
167a0ba
golint fixed current -min_confidence=0.9
lunny Nov 13, 2016
53e6ad6
add comment on HookPathUpdate
lunny Nov 13, 2016
5971b8d
Rename file from utlis.go to utils.go
thibaultmeyer Nov 13, 2016
a7ca712
Merge pull request #12 from 0xbaadf00d/fix/file-name
tboerger Nov 13, 2016
0807b51
Merge pull request #9 from go-gitea/drone
metalmatze Nov 13, 2016
de3a9ba
.editorconfig: Do not specify end_of_line
andreynering Nov 15, 2016
235042b
Merge pull request #13 from go-gitea/editorconfig-end-of-line
andreynering Nov 15, 2016
38a5ca6
change returned unexported types to exported types
lunny Nov 16, 2016
c7ee07a
Merge branch 'lunny/fixed_lint' of https://github.com/lunny/git into …
lunny Nov 17, 2016
9122f8a
added global git command args support (#14)
lunny Nov 17, 2016
5a0d431
remove convey and use testify assert
metalmatze Nov 19, 2016
e690471
Merge pull request #15 from go-gitea/feature/testify
metalmatze Nov 21, 2016
5750e78
Unified editorconfig accross all projects
Nov 28, 2016
46da624
Unified GitHub templates accross all projects
Nov 28, 2016
bec0d7f
Dropped always outdated contributors file, link to it the graph on re…
Nov 28, 2016
b5aaa58
Updated maintainers file to latest status
Nov 28, 2016
9933d0a
Dropped new lines from contributing, some rewording and reformatting
Nov 28, 2016
b436544
Add a pragraph to the k8s PR guide to contributors guide
Nov 28, 2016
e547fc7
Merge pull request #16 from go-gitea/maintain-contribute
metalmatze Nov 28, 2016
8adaa7b
Added real name of Bwko to maintainers file
Dec 1, 2016
214cb0f
Merge pull request #17 from go-gitea/maintainers
andreynering Dec 1, 2016
9aa6362
Fixed typos on CONTRIBUTING based on work of @thehowl
Dec 5, 2016
06ee0cf
Merge pull request #18 from go-gitea/contributing
andreynering Dec 5, 2016
c839490
add lint check
lunny Dec 21, 2016
d97cb0f
Check if files are a symlink (#20)
gronke Dec 8, 2016
43c086d
Merge pull request #20 from lunny/lunny/islink_for_treeentry
tboerger Dec 22, 2016
634abd6
emptySHA -> EmptySHA (#21)
lunny Dec 22, 2016
8d7db5e
drone sign
lunny Dec 22, 2016
c5b4183
Merge pull request #19 from lunny/lunny/add_lint_check
tboerger Dec 22, 2016
4851070
Don't trim trailing whitespaces for markdown (#22)
metalmatze Dec 25, 2016
7880430
Implementation of Folder Jumping (#23)
sriio Dec 28, 2016
61d0a04
Replace pull request with issue at issue_template (#25)
Bwko Dec 31, 2016
5f81d4b
update maintainer list for LGTM
appleboy Jan 3, 2017
a3ee12b
Add get tags info method for releases (#27)
lunny Jan 5, 2017
06b6600
fix misspell word. (#24)
appleboy Jan 6, 2017
7477742
fix bug in get repo tag infos (#28)
lunny Jan 9, 2017
8a6974f
Add CreateBranch command (#29)
Bwko Jan 17, 2017
5ca1943
Update contributing & maintainers file (#30)
Bwko Jan 25, 2017
dd951bf
Add ability to search for commit messages in all the branches (#31)
gzsombor Feb 5, 2017
176c743
Adding git blame
Feb 5, 2017
2187360
Merge pull request #32 from makhov/feature/blame
tboerger Feb 6, 2017
0c5c193
use a new hooks dir struct (#34)
lunny Feb 24, 2017
3374688
Add GPG payload to commit information if present (#36)
sapk Mar 13, 2017
5b41327
use --follow on file history to show log across renames (#37)
philfry Mar 21, 2017
1b3739c
Add GetRepoSize implemented using count-objects (#40)
cez81 Apr 5, 2017
135704d
Use exec.CommandContext for timeout control
typeless Apr 7, 2017
d5e562c
Add tests for RunInDirTimeoutPipeline (#42)
typeless Apr 8, 2017
ee1a397
Panic if Git version is < GitVersionRequired (#46)
cez81 Apr 19, 2017
3f99247
ask git version from 1.7.10 to 1.8.1.6 since git log command needs (#48)
lunny Apr 26, 2017
ed17546
fix tag contain character ")"
appleboy May 4, 2017
1b9115b
Update MAINTAINERS (#50)
lafriks May 5, 2017
af05861
Add GetLatestCommitTime (#45)
cez81 May 19, 2017
826198d
Add @sapk to MAINTAINERS (#51)
sapk May 20, 2017
f0a094c
add options force to push (#52)
lunny May 23, 2017
4c374b3
Rectify error handling (#44)
typeless May 26, 2017
43e5216
Return empty list of branches if repository is bare. (#39)
cybe May 26, 2017
ec4446b
Faster commit lookup (#53)
ethantkoenig May 26, 2017
56f6a2c
Use b.Fatal in benchmark tests (#55)
ethantkoenig May 27, 2017
c98a6f3
Return error from cmd.Wait() (#56)
ethantkoenig May 29, 2017
7b07391
Fix bug in GetCommitInfos (#57)
ethantkoenig Jun 1, 2017
544c5b3
Fix parsing bug in GetTagInfos (#58)
ethantkoenig Jun 6, 2017
a709880
Use cross-platform path separator (#59)
ethantkoenig Jun 6, 2017
f42d649
replace gitter chat with discord
appleboy Jun 10, 2017
4449dfd
Update chat links to Discord (#61)
cez81 Jun 12, 2017
f2dbffb
Add myself as a maintainer
cez81 Jun 12, 2017
cff67d4
Merge pull request #62 from cez81/cez81_as_maintainer
andreynering Jun 12, 2017
2f740f2
Fix escaped char bug in getCommitInfos (#64)
ethantkoenig Jun 16, 2017
fb22c9e
switch gitter to discord for drone. (#65)
appleboy Jun 16, 2017
cd5d28e
Fix bug in GetCommitInfos (#66)
ethantkoenig Jun 19, 2017
a34a13d
Fix Windows path bug in GetCommitInfos (#67)
ethantkoenig Jun 20, 2017
94d75c2
fix commit tree view when submodule file lost (#68)
lunny Jun 21, 2017
51eca9e
Check unchecked error (#69)
ethantkoenig Jun 21, 2017
7546898
Add discourse link to issue template (#74)
cez81 Jun 28, 2017
7c4fc4e
Revert to old implementation of GetCommitsInfo (#73)
ethantkoenig Jun 28, 2017
ef3ac5f
Trim commit message when generating Summary (#75)
melak Jul 1, 2017
fc63966
Use POSIX complaint ! operator in find (#76)
rsmarples Jul 10, 2017
479f87e
Fix branch deletion with git < 2.5.0 (#77)
lafriks Aug 3, 2017
45f50c6
Comment help text for issues (#78)
pgaskin Aug 8, 2017
dda5008
Changes for latest DroneCI
tboerger Aug 22, 2017
870e58e
Merge pull request #80 from go-gitea/drone-upgrade
tboerger Sep 7, 2017
878757c
remove sig file. (#79)
appleboy Sep 10, 2017
e8ae926
Fix blob test and drone git-pull (#82)
bkcsoft Sep 16, 2017
d7487da
Add method to allow custom sorting of tree entry list (#81)
lafriks Sep 16, 2017
cdb43f0
add @daviian as maintainer
daviian Sep 19, 2017
cdf53e0
Update MAINTAINERS (#86)
Morlinest Oct 7, 2017
576fbdd
remove unnecessary version checks
daviian Oct 11, 2017
d47b98c
Fix signature without time parsing to fall back to unix 0 time (#89)
lafriks Oct 23, 2017
193e22e
Introduce Blob.DataAsyc (#94)
mrexodia Nov 28, 2017
c2040d5
Accept git 1.7.2 as the minimum version (#90)
strk Nov 28, 2017
6196634
Improve memory usage in Commit.IsImageFile (#95)
mrexodia Nov 28, 2017
f9dd682
Improve memory usage for Blob.Data() by ~50% (#96)
mrexodia Nov 28, 2017
02eccf8
Faster commit lookup (#91)
ethantkoenig Dec 10, 2017
c102502
Fix time parsing (#97)
ethantkoenig Dec 10, 2017
4768133
Refactor CommitsBefore method to match github (#88)
daviian Dec 10, 2017
4573c63
Fix retrieve file last commit branchName (#98)
lunny Dec 20, 2017
1aa1c8c
Tests for GetComimitsInfo (#99)
ethantkoenig Dec 20, 2017
4ec3654
Kill zombie subprocesses in GetCommitsInfo (#101)
ethantkoenig Dec 22, 2017
b8e8779
update LGTM pattern (#102)
appleboy Jan 3, 2018
b3e9f25
Add GetFormatPatch receiver for a repository (#103)
strk Jan 5, 2018
a34aca9
add myself to maintainers (#106)
thehowl Jan 6, 2018
2c3dc95
Set default command execution timeout as changable (#104)
lunny Jan 7, 2018
f4a9105
use io reader for GetFormatPatch (#105)
lunny Jan 7, 2018
6798d0f
Make GetRefCommitID exported (#107)
lafriks Jan 14, 2018
827f97a
Fix tree entry parsing (#110)
ethantkoenig Feb 10, 2018
3413a6c
Simplify sha1 functions (#111)
ethantkoenig Feb 10, 2018
dac1986
Add myself as a maintainer (#112)
jonasfranz Mar 16, 2018
288aede
Added FollowLink() method to TreeEntry (#114)
tf198 Apr 19, 2018
f1ecc13
Fix for short symlinks (#115)
tf198 Apr 21, 2018
258a447
Add line blame (#116)
jonasfranz May 13, 2018
622cdd1
Use dep instead of govendor (#117)
lunny May 15, 2018
0077deb
Fix blame problem for older git versions (#118)
jonasfranz May 17, 2018
31f4b8e
fix git version below 2.7 (#119)
daviian May 26, 2018
466ac24
Add function to resolve short commit ID to full SHA1 (#122)
lafriks Jun 12, 2018
9e09973
Add codecov test coverage (#120)
lunny Jun 16, 2018
344971f
Add myself as a maintainer (#126)
axifive Jul 1, 2018
6ef79e8
Add parsing support for tag GPG signatures (#124)
christopherjmedlin Jul 8, 2018
ca75f90
fix golint path. (#131)
appleboy Oct 18, 2018
f3afe30
add myself to maintainers (#130)
kolaente Oct 18, 2018
d945eda
Blob api (#132)
HoffmannP Nov 11, 2018
578ad8f
Refactor branch list using src-d/go-git and add GetRefs function (#133)
lafriks Nov 15, 2018
6b81917
Improving / Exposing Git-Trees related features for Git-Trees API. (#…
Kasi-R Nov 26, 2018
389d3c8
command: fix NewCommand (#135)
michaelkuhn Nov 27, 2018
b83e0a0
Added commit file status, port from gogs (#137)
lunny Dec 31, 2018
c811eb4
Replace @JonasFranzDEV with @jonasfranz (#138)
jonasfranz Jan 2, 2019
7d7fe9f
Fixed a bug where TreeEntries were getting cached, (thanks @filipnava…
Kasi-R Jan 16, 2019
49292ad
fix submodule has port (#136)
lunny Jan 23, 2019
d04f81a
GetCommit() returns a ErrNotExist if short commit ID does not exists …
agrn Feb 3, 2019
fbe468c
get branch from commit sha1 (#142)
adelowo Feb 3, 2019
0aea7f1
fix get tag list (#143)
lunny Feb 7, 2019
2fe6ebd
Add 'modules/git/' from commit '0aea7f12d36ed49bcac560b61301cff88e478…
lunny Feb 7, 2019
87162f2
remove git vendor and replace all imports
lunny Feb 7, 2019
c0375aa
remove git vendor directory and other unnecssary things, adjust makef…
zeripath Feb 7, 2019
de5bec9
dep ensured
zeripath Feb 8, 2019
a6d7cfb
Merge branch 'master' into lunny/add_git_as_module
zeripath Feb 8, 2019
af0701e
Fix repo_tag import
zeripath Feb 8, 2019
83894c0
fmt changes
zeripath Feb 8, 2019
eccea8b
Fix spelling
zeripath Feb 8, 2019
ecffc4b
Merge branch 'master' into lunny/add_git_as_module
zeripath Feb 9, 2019
9558cc8
More spelling fixes
zeripath Feb 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ ignored = ["google.golang.org/appengine*"]
unused-packages = true
non-go = true

[[constraint]]
branch = "master"
name = "code.gitea.io/git"

[[constraint]]
branch = "master"
name = "code.gitea.io/sdk"
Expand Down Expand Up @@ -120,3 +116,7 @@ ignored = ["google.golang.org/appengine*"]
[[constraint]]
name = "github.com/prometheus/client_golang"
version = "0.9.0"

[[constraint]]
name = "gopkg.in/src-d/go-git.v4"
version = "4.7.1"
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ generate:
@hash go-bindata > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) get -u github.com/jteeuwen/go-bindata/go-bindata; \
fi
@which mockery > /dev/null; if [ $$? -ne 0 ]; then \
go get -u github.com/vektra/mockery/...; \
fi
$(GO) generate $(PACKAGES)

.PHONY: generate-swagger
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"os"
"text/tabwriter"

"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth/oauth2"
"code.gitea.io/gitea/modules/generate"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"

Expand Down
2 changes: 1 addition & 1 deletion cmd/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"strconv"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/private"
"code.gitea.io/gitea/modules/setting"
Expand Down
2 changes: 1 addition & 1 deletion cmd/serv.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"strings"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/pprof"
"code.gitea.io/gitea/modules/private"
Expand Down
2 changes: 1 addition & 1 deletion integrations/api_releases_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"net/http"
"testing"

"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/git"
api "code.gitea.io/sdk/gitea"

"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion integrations/git_helper_for_declarative_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"testing"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/ssh"
"github.com/Unknwon/com"
Expand Down
2 changes: 1 addition & 1 deletion integrations/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"testing"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion integrations/ssh_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"testing"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
api "code.gitea.io/sdk/gitea"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion models/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"time"
"unicode"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/util"
Expand Down
2 changes: 1 addition & 1 deletion models/action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/setting"

"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion models/git_diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"strconv"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/highlight"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
Expand Down
2 changes: 1 addition & 1 deletion models/gpg_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"strings"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"

Expand Down
2 changes: 1 addition & 1 deletion models/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/setting"
)

Expand Down
2 changes: 1 addition & 1 deletion models/graph_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"testing"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
)

func BenchmarkGetCommitGraph(b *testing.B) {
Expand Down
2 changes: 1 addition & 1 deletion models/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/markup/markdown"
"code.gitea.io/gitea/modules/setting"
"github.com/Unknwon/com"
Expand Down
2 changes: 1 addition & 1 deletion models/migrations/v28.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"

Expand Down
2 changes: 1 addition & 1 deletion models/migrations/v39.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package migrations
import (
"fmt"

"code.gitea.io/git"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"

"github.com/go-xorm/xorm"
Expand Down
2 changes: 1 addition & 1 deletion models/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"strings"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/cache"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
Expand Down
2 changes: 1 addition & 1 deletion models/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sort"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
Expand Down
2 changes: 1 addition & 1 deletion models/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package models
import (
"testing"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strings"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/markup"
"code.gitea.io/gitea/modules/options"
Expand Down
2 changes: 1 addition & 1 deletion models/repo_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/setting"

"github.com/Unknwon/com"
Expand Down
2 changes: 1 addition & 1 deletion models/repo_editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/Unknwon/com"
gouuid "github.com/satori/go.uuid"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"

"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
Expand Down
2 changes: 1 addition & 1 deletion models/repo_indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strconv"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/indexer"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
Expand Down
2 changes: 1 addition & 1 deletion models/repo_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/cache"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
Expand Down
2 changes: 1 addition & 1 deletion models/repo_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package models

import (
"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
)

// GetTagsByPath returns repo tags by it's path
Expand Down
2 changes: 1 addition & 1 deletion models/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/util"
Expand Down
2 changes: 1 addition & 1 deletion models/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"strings"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/cache"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
)
Expand Down
2 changes: 1 addition & 1 deletion models/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/ssh"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
api "code.gitea.io/sdk/gitea"

"code.gitea.io/gitea/modules/avatar"
Expand Down
2 changes: 1 addition & 1 deletion models/webhook_dingtalk.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
api "code.gitea.io/sdk/gitea"
dingtalk "github.com/lunny/dingtalk_webhook"
)
Expand Down
2 changes: 1 addition & 1 deletion models/webhook_discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strconv"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/setting"
api "code.gitea.io/sdk/gitea"
)
Expand Down
2 changes: 1 addition & 1 deletion models/webhook_slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"strings"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/setting"
api "code.gitea.io/sdk/gitea"
)
Expand Down
2 changes: 1 addition & 1 deletion models/wiki.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/Unknwon/com"

"code.gitea.io/git"
"code.gitea.io/gitea/modules/git"

"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/sync"
Expand Down
Loading