1
0
mirror of https://github.com/go-gitea/git.git synced 2026-02-05 15:45:40 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
melak
ef3ac5f3ff Trim commit message when generating Summary (#75)
Commit messages with superfluous empty lines on the top generate
empty summaries. Trim the commit message so the summary contains
something meaningful (as far as the commit message permits).
2017-07-01 08:51:17 -05:00
Lunny Xiao
94d75c2432 fix commit tree view when submodule file lost (#68) 2017-06-20 20:05:24 -05:00
Antoine GIRARD
337468881d Add GPG payload to commit information if present (#36)
* Add GPG payload to commit information if present

based on : 3bc53220cb/commit.c (L1128)

* Fix missing data in payload + leading space in Signature
2017-03-13 23:07:03 +08:00
Zsombor
dd951bf625 Add ability to search for commit messages in all the branches (#31) 2017-02-05 10:50:57 +08:00
Lunny Xiao
38a5ca6b26 change returned unexported types to exported types 2016-11-16 15:14:36 +08:00
Lunny Xiao
167a0ba929 golint fixed current -min_confidence=0.9 2016-11-13 12:42:56 +08: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
0a18ab0f2b CommitChanges: allow set both committer and author 2016-08-27 13:37:00 -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
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
Unknwon
ebd9fb2253 speed up for getting a lot commits 2015-12-13 22:57:47 -05:00
Unknwon
1ffc4bc36d readboferelimit 2015-12-10 16:28:22 -05:00
Unknwon
4cc1cbbfea complete migration from gogs module 2015-12-09 20:45:25 -05:00
Unknwon
de77627290 more APIs 2015-12-02 01:11:00 -05:00
Unknwon
19510da781 more helpers 2015-11-27 02:15:42 -05:00
Unknwon
e97767e2eb migrate some commands 2015-11-27 00:24:02 -05:00