You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules
zeripath 911d370dad
Push HEAD instead of master when initialising repositories (#13719)
* Push HEAD instead of master when initialising repositories

It is possible on modern gits to change the initial branch to something other than
master. This breaks initialising repositories because we assume that the initial
branch is going to be master unless specifically changed.

This PR simply bypasses this issue by pushing the HEAD rather than the master branch.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update modules/repository/init.go

Co-authored-by: mrsdizzie <info@mrsdizzie.com>

Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
analyze Exclude generated files from language statistics (#11653) 4 years ago
auth Add block on official review requests branch protection (#13705) 4 years ago
avatar Avatars and Repo avatars support storing in minio (#12516) 4 years ago
base Use a simple format for the big number on ui (#12822) 4 years ago
cache Allow common redis and leveldb connections (#12385) 4 years ago
charset Ensure that the detected charset order is set in chardet test (#12574) 4 years ago
context Support shortened commit SHAs in URLs (#13686) 4 years ago
convert Add block on official review requests branch protection (#13705) 4 years ago
cron Add ssh certificate support (#12281) 4 years ago
emoji Fix emoji detection in certain cases (#12320) 4 years ago
eventsource Move EventSource to SharedWorker (#12095) 4 years ago
generate Add gitea-vet (#10948) 4 years ago
git Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
gitgraph Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 4 years ago
graceful Move install pages out of main macaron routes (#13195) 4 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight Use existing analyzer module for language detection for highlighting (#13522) 4 years ago
httpcache HTTP cache rework and enable caching for storage assets (#13569) 4 years ago
httplib Add golangci (#6418) 5 years ago
indexer Refactor Logger (#13294) 4 years ago
lfs Storage configuration support `[storage]` (#13314) 4 years ago
log Refactor Logger (#13294) 4 years ago
markup Update golangci-lint to version 1.31.0 (#13102) 4 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations finaly fix gitlab migration with subdir 2.0 (#13646) 4 years ago
nosql Allow common redis and leveldb connections (#12385) 4 years ago
notification Fix review request notification issue link when external issue tracker is enabled (#13723) 4 years ago
options Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
password Check passwords against HaveIBeenPwned (#12716) 4 years ago
pprof Add golangci (#6418) 5 years ago
private Fix send mail (#13312) 4 years ago
process Only write to global gitconfig if necessary (#11876) 4 years ago
public HTTP cache rework and enable caching for storage assets (#13569) 4 years ago
queue Slightly simplify the queue settings code to help reduce the risk of problems (#12976) 4 years ago
recaptcha hCaptcha Support (#12594) 4 years ago
references Fix panic bug in handling multiple references in commit (#13486) 4 years ago
repofiles go-version constraints ignore pre-releases (#13234) 4 years ago
repository Push HEAD instead of master when initialising repositories (#13719) 4 years ago
secret Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
session Allow common redis and leveldb connections (#12385) 4 years ago
setting Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
ssh Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
storage Fix Storage mapping (#13297) 4 years ago
structs Add block on official review requests branch protection (#13705) 4 years ago
svg Fix filepath basename on Windows for SVG bindata (#12241) 4 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
task Store task errors following migrations and display them (#13246) 4 years ago
templates Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
test Macaron 1.5 (#12596) 4 years ago
timeutil Fix timezone on issue deadline (#11697) 4 years ago
upload Update golangci-lint to version 1.31.0 (#13102) 4 years ago
user Add gitea-vet (#10948) 4 years ago
util Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
validation [API] Get a single commit via Ref (#10915) 4 years ago
webhook Update golangci-lint to version 1.31.0 (#13102) 4 years ago