Lunny Xiao
167a0ba929
golint fixed current -min_confidence=0.9
2016-11-13 12:42:56 +08:00
Andrey Nering
e9c0f8288f
Merge pull request #8 from 0xbaadf00d/feature/const-var-name
...
Change const variable name
2016-11-12 19:58:51 -02:00
Thibault Meyer
a6a203b182
Change const variable name
2016-11-12 21:40:58 +01:00
Thibault Meyer
f2ef59b1e5
Can set a custom max number of goroutine
2016-11-12 21:24:07 +01:00
Thibault Meyer
cddfff06fa
Fix variable name collision with import name ( #5 )
2016-11-12 11:50:26 +01:00
Sandro Santilli
747bdcef30
Fix travis import path ( #6 )
2016-11-12 11:49:13 +01:00
Lunny Xiao
6e905d4dae
ask for go get from code.gitea.io/git ( #4 )
2016-11-12 01:29:07 +08:00
Lunny Xiao
046e473fe3
Merge pull request #3 from 0xbaadf00d/fix/18-sleep-induced-slowness
...
Sleep induced slowness in gogits
2016-11-10 14:25:21 +08:00
Thomas Boerger
93f55fcb09
Merge pull request #2 from vvekic/master
...
Add Rebase option to Pull
2016-11-07 14:21:11 +01:00
Lunny Xiao
a9d4aeb3e8
Merge pull request #1 from strk/travis
...
Link to go-gitea/git build status
2016-11-06 19:58:29 +08:00
Sandro Santilli
766747ef8b
Link to go-gitea/git build status
2016-11-06 10:52:37 +01:00
Thibault Meyer
a5cddbfb95
Remove "sleep" usage
2016-10-30 08:37:40 +01:00
Vedran Vekić
4eb2cc9693
Add Rebase option to Pull
2016-10-21 09:13:37 +02:00
Unknwon
b3009dc4f5
commit: minor fix on bug cut
2016-08-31 13:58:24 -07:00
无闻
2ef563ccd1
Avoid creating an array for the sole purpose of counting elements ( #17 )
...
* Avoid creating an array for the sole purpose of counting elements
Probably speeds up counting commits for git versions < 1.8.0,
although I dubt it would make a visible difference
* Fix commit count with git version < 1.8.0
With format='' the output does not end with a newline (checked)
2016-08-31 00:30:20 -07:00
Sandro Santilli
5ebab5d5ec
Fix commit count with git version < 1.8.0
...
With format='' the output does not end with a newline (checked)
2016-08-31 08:34:54 +02:00
Sandro Santilli
424b048ee6
Avoid creating an array for the sole purpose of counting elements
...
Probably speeds up counting commits for git versions < 1.8.0,
although I dubt it would make a visible difference
2016-08-31 00:43:15 +02:00
Unknwon
5e0c1330d7
archive: handle Windows path
2016-08-29 23:56:31 -07:00
Unknwon
0a18ab0f2b
CommitChanges: allow set both committer and author
2016-08-27 13:37:00 -07:00
Unknwon
7b206b529a
Return ErrNotExist when ref is not valid
2016-08-19 08:31:25 -07:00
Unknwon
f78bf3bf70
Minor code cleanup
2016-08-15 22:19:47 -07:00
Unknwon
2a820b5471
Detect and return ErrNotFound when get commit
2016-08-15 15:25:13 -07:00
Unknwon
31d8d73910
Add EMPTY_SHA constant
2016-08-15 05:52:35 -07:00
Unknwon
313ce907cc
Use constant to replace strings
2016-08-14 04:03:57 -07:00
Unknwon
efc90b5ea1
gogits/gogs#3233 code clean up
2016-08-11 10:52:26 -07:00
Unknwon
18dd87dc5e
gogits/gogs#3007 only list server side Git hooks
2016-08-09 17:14:56 -07:00
Unknwon
53bcb7352f
gogits/gogs#3302 remove hook script and recreate with proper permission
...
If permission of hook script somehow changed, the rewrite operation does not
fix the permission to what is expteced.
2016-07-22 21:29:50 +08:00
Unknwon
db93fa5501
gogits/gogs#2586 better approach to prevent iterate all commits
2016-07-12 06:18:28 +08:00
Tanapol Nearunchorn
1b71bffb20
remove branch from repo ( #15 )
2016-07-03 16:13:50 +08:00
Unknwon
7da4f5e717
Add repository name as parent directory for archives
...
Addresses gogits/gogs#518
2016-06-30 02:20:45 +08:00
Unknwon
1dad9765c0
Minor fix for #14
...
- Refactor some name
2016-06-27 23:39:35 +08:00
goriy
c61be7813a
Fixed incorrect creation of relative submodule URL ( #14 )
...
According to git submodule documentation base path for relative submodule URL
is parent repository's root - not submodule "mount point".
So it's necessary to know "path" of parent repository to create correct submodule
URL.
2016-06-27 23:19:41 +08:00
Odin Ugedal
1f1117c396
Add support for abbreviated commit IDs ( #10 )
...
Support shorter commit IDs than 40 characters
2016-06-02 18:16:23 -07:00
Richard Mahn
0888f003de
Added functions to handle checking out branches and moving files ( #12 )
...
* Adds functions to handle checking out branches and moving files
Adds support for checking out a new branch
Fix for branch pull requests
* Adds methods to get files changes between two commits
2016-06-01 01:24:11 -07:00
Unknwon
731b9be71b
Merge pull request #9 from moltam/fix/empty-tag-list
...
Fixed returning non empty tag list when there are no tags.
2016-03-23 15:36:23 -04:00
Tamás Molnár
c6f4b6b050
Fixed returning non empty tag list when there are no tags.
2016-03-23 20:04:31 +01:00
Unknwon
59330e2aba
Merge pull request #8 from moltam/feature/order-tags-below-git2
...
Reverse the order of tags below git 2.0
2016-03-21 19:11:46 -04:00
Tamás Molnár
edf5c0ca2b
Reverse the order of tags below git 2.0
2016-03-21 20:48:59 +01:00
Unknwon
76e8cce6c7
Able to detect get PR info for same repository
2016-03-04 15:22:11 -05:00
Unknwon
a244fe9733
Able to set timeout for git pull
2016-02-29 19:25:37 -05:00
Unknwon
a1c50966a1
gogits/gogs#2677 check order of detected chars for submodule
2016-02-22 13:55:03 -05:00
Unknwon
190831658a
Limit max goroutine number in per method call
2016-02-21 23:04:19 -05:00
Unknwon
3b40eae09d
Minor fix for #6
2016-02-11 17:08:09 -05:00
Unknwon
b924465d19
Merge pull request #6 from joshfng/fix-refendname
...
Fix to allow tags with '/' to be returned correctly
2016-02-11 17:04:44 -05:00
Josh Frye
8b98705ae6
Fix to allow tags with '/' to be returned correctly
2016-02-11 17:01:58 -05:00
Unknwon
3c8c495f30
fix compile error
2016-01-28 11:09:33 -05:00
Unknwon
f354a82512
Add timeout safe check for fsck
2016-01-28 11:07:19 -05:00
Unknwon
1193908d0e
Merge pull request #4 from nanoant/patch/fix-submodule-info
...
Fix submodule info loading
2016-01-14 12:52:01 +08:00
Adam Strzelecki
919a66d8bd
Do not fail in GetCommitsInfo with no .gitmodules
...
This fixes GetCommitsInfo returning
GetSubModule (/somemodule): object does not exist [id: , rel_path: .gitmodules]
when /somemodule is a ref entry but no .gitmodules file is present. Instead
failing we just check for IsErrNotExist and return empty submodule url.
This also fixes HTTP 500 internal error in Gogs for case described above.
2016-01-13 18:52:06 +01:00
Adam Strzelecki
d78e7eee65
Fix regression causing no submodule info
...
This fixes regression introduced in ebd9fb2253 ,
that GetSubModules was always returning empty submodule info because
c.submoduleCache != nil check was always true since parseCommitData was setting
commit.submoduleCache = newObjectCache() so it was always not-nil.
Now we initialize submoduleCache in first GetSubModules call, next call will
return cached entries.
2016-01-13 18:48:32 +01:00