A Go module for Git access through shell
This repository has been archived on 2019-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Fernando Governatore 0ef46ae157 Fixes incorrect URL for submodules that specify the remote port
If the repo's host is in urlPrefix, test if there is a number after the
":" and, if there is one, consider it as a port number and ignore it in the
URL returned.

  Fixes go-gitea/gitea#2775

Signed-off-by: Fernando Governatore <fernando@syspac.com.br>
2018-01-26 15:12:28 -02:00
.github Comment help text for issues (#78) 2017-08-09 07:25:27 +08:00
docker/ci Accept git 1.7.2 as the minimum version (#90) 2017-11-28 21:40:08 +08:00
tests/repos/repo1_bare Tests for GetComimitsInfo (#99) 2017-12-20 21:44:51 +02:00
vendor Fix blob test and drone git-pull (#82) 2017-09-16 19:40:27 +03:00
.drone.yml Accept git 1.7.2 as the minimum version (#90) 2017-11-28 21:40:08 +08:00
.editorconfig switch gitter to discord for drone. (#65) 2017-06-15 21:13:53 -05:00
.gitignore Tests for GetComimitsInfo (#99) 2017-12-20 21:44:51 +02:00
.lgtm update LGTM pattern (#102) 2018-01-03 22:52:32 +08:00
blob_test.go Improve memory usage for Blob.Data() by ~50% (#96) 2017-11-28 17:25:05 +02:00
blob.go Improve memory usage for Blob.Data() by ~50% (#96) 2017-11-28 17:25:05 +02:00
command_test.go Rectify error handling (#44) 2017-05-26 13:11:55 +08:00
command.go Set default command execution timeout as changable (#104) 2018-01-07 11:10:22 +08:00
commit_archive.go golint fixed current -min_confidence=0.9 2016-11-13 12:42:56 +08:00
commit_info_test.go Tests for GetComimitsInfo (#99) 2017-12-20 21:44:51 +02:00
commit_info.go Kill zombie subprocesses in GetCommitsInfo (#101) 2017-12-22 10:43:26 +08:00
commit_test.go Accept git 1.7.2 as the minimum version (#90) 2017-11-28 21:40:08 +08:00
commit.go Improve memory usage in Commit.IsImageFile (#95) 2017-11-28 17:24:08 +02:00
CONTRIBUTING.md Update chat links to Discord (#61) 2017-06-11 20:13:13 -05:00
DCO Added files for contributions, maintainers and DCO 2016-11-13 00:47:00 +01:00
doc.go ask for go get from code.gitea.io/git (#4) 2016-11-12 01:29:07 +08:00
error.go golint fixed current -min_confidence=0.9 2016-11-13 12:42:56 +08:00
git.go Accept git 1.7.2 as the minimum version (#90) 2017-11-28 21:40:08 +08:00
hook.go use a new hooks dir struct (#34) 2017-02-24 17:20:33 +08:00
LICENSE Extended license file 2016-11-13 00:46:23 +01:00
MAINTAINERS add myself to maintainers (#106) 2018-01-06 22:07:53 +02:00
Makefile Use POSIX complaint ! operator in find (#76) 2017-07-10 11:37:35 +03:00
README.md replace gitter chat with discord 2017-06-11 09:19:08 +02:00
repo_blame.go Adding git blame 2017-02-06 00:16:38 +03:00
repo_branch.go remove unnecessary version checks 2017-10-11 17:50:48 +02:00
repo_commit.go Make GetRefCommitID exported (#107) 2018-01-14 16:37:32 +02:00
repo_hook.go golint fixed current -min_confidence=0.9 2016-11-13 12:42:56 +08:00
repo_object.go golint fixed current -min_confidence=0.9 2016-11-13 12:42:56 +08:00
repo_pull_test.go use io reader for GetFormatPatch (#105) 2018-01-07 00:11:05 -06:00
repo_pull.go use io reader for GetFormatPatch (#105) 2018-01-07 00:11:05 -06:00
repo_tag.go Fix parsing bug in GetTagInfos (#58) 2017-06-06 10:00:19 +08:00
repo_test.go Accept git 1.7.2 as the minimum version (#90) 2017-11-28 21:40:08 +08:00
repo_tree.go change returned unexported types to exported types 2016-11-16 15:14:36 +08:00
repo.go Fix time parsing (#97) 2017-12-10 12:04:04 +02:00
sha1.go emptySHA -> EmptySHA (#21) 2016-12-22 16:49:21 +08:00
signature.go Fix time parsing (#97) 2017-12-10 12:04:04 +02:00
submodule.go Fixes incorrect URL for submodules that specify the remote port 2018-01-26 15:12:28 -02:00
tag.go Add get tags info method for releases (#27) 2017-01-05 10:48:44 +08:00
tree_blob.go golint fixed current -min_confidence=0.9 2016-11-13 12:42:56 +08:00
tree_entry_test.go Faster commit lookup (#91) 2017-12-10 12:02:18 +02:00
tree_entry.go Faster commit lookup (#91) 2017-12-10 12:02:18 +02:00
tree.go change returned unexported types to exported types 2016-11-16 15:14:36 +08:00
utils.go Merge branch 'lunny/fixed_lint' of https://github.com/lunny/git into lunny-lunny/fixed_lint 2016-11-17 10:14:49 +08:00

Git Shell

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Coverage Status Go Report Card GoDoc

This project is a Go module to access Git through shell commands. For further informations take a look at the current documentation.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the MIT License. See the LICENSE file for the full license text.