Error while commiting changes #20257
Unanswered
Shriyam-Avasthi
asked this question in
Q&A (Developer Workflow)
Replies: 2 comments 1 reply
-
It says "git diff core/feconf.py" returned exit status 129. Try running that directly; what happens -- do you get a more detailed error stacktrace? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Shriyam-Avasthi, any progress on this error ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I worked on an issue, and after fixing it, I am trying to commit my changes to my branch but getting the following error:
Running pre-commit check for feconf and constants ... Traceback (most recent call last): File "./.git/hooks/pre-commit-python", line 229, in <module> main() File "./.git/hooks/pre-commit-python", line 206, in main check_changes_in_config() File "./.git/hooks/pre-commit-python", line 176, in check_changes_in_config if not check_changes('feconf'): File "./.git/hooks/pre-commit-python", line 160, in check_changes diff_output = subprocess.check_output([ File "/usr/local/lib/python3.8/subprocess.py", line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/local/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['git', 'diff', 'core/feconf.py']' returned non-zero exit status 129. Python script exited with code 1 docker compose stop
I have no idea why is this showing up and what to do to resolve it. I have changed two files only and those are in no way related to this feconf.py.
Beta Was this translation helpful? Give feedback.
All reactions