Skip to content
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

fix: initial default branch name #340

Merged
merged 1 commit into from
Jul 18, 2023
Merged

fix: initial default branch name #340

merged 1 commit into from
Jul 18, 2023

Conversation

aymanbagabas
Copy link
Member

Use git plumbing to set the initial default branch name.

Fixes: #147
Fixes: #260

@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #340 (143c502) into main (e398b4d) will decrease coverage by 0.07%.
The diff coverage is 48.00%.

@@            Coverage Diff             @@
##             main     #340      +/-   ##
==========================================
- Coverage   50.70%   50.63%   -0.07%     
==========================================
  Files         107      107              
  Lines        8179     8209      +30     
==========================================
+ Hits         4147     4157      +10     
- Misses       3746     3761      +15     
- Partials      286      291       +5     
Impacted Files Coverage Δ
server/git/git.go 31.66% <0.00%> (+0.51%) ⬆️
server/backend/repo.go 60.00% <40.00%> (-3.61%) ⬇️
server/ssh/cmd/branch.go 70.45% <80.00%> (+0.92%) ⬆️
git/repo.go 43.97% <100.00%> (+0.68%) ⬆️

Use git plumbing to set the initial default branch name.

Fixes: #147
Fixes: #260
@aymanbagabas aymanbagabas merged commit 050a0d1 into main Jul 18, 2023
16 of 18 checks passed
@aymanbagabas aymanbagabas deleted the fix-default-branch branch July 18, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker: Failing to create new repositories Failing to create new repo
1 participant