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

Address issue where git reports fatal error if codegpt is executed from the hook #193

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mikluko
Copy link

@mikluko mikluko commented Aug 13, 2024

No description provided.

- Add check for `GIT_INDEX_FILE` environment variable to conditionally skip automatic git commit
- Ensure git commit is executed only if not running from within a hook
- Add support for Russian language in languageMaps
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 5.44%. Comparing base (0125d86) to head (b4d39f2).
Report is 58 commits behind head on main.

Files Patch % Lines
cmd/commit.go 0.00% 7 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (0125d86) and HEAD (b4d39f2). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (0125d86) HEAD (b4d39f2)
1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #193       +/-   ##
==========================================
- Coverage   21.96%   5.44%   -16.53%     
==========================================
  Files           8      26       +18     
  Lines         346    1047      +701     
==========================================
- Hits           76      57       -19     
- Misses        264     984      +720     
  Partials        6       6               
Flag Coverage Δ
go-1.22 5.44% <0.00%> (?)
ubuntu-latest 5.44% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant