Skip to content

New array based git API command for webui #439

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

Merged
merged 3 commits into from
Jul 31, 2024
Merged

Conversation

isc-hwojnick
Copy link
Contributor

fixes #437, #433

all commits and amends from webui now run through the "/git-command" endpoint

Copy link
Collaborator

@isc-pbarton isc-pbarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Committing multiple files at once doesn't work properly with the new endpoint. I get the following error:
error: pathspec 'cls/pbarton2/nesdsaf.cls cls/pbarton2/dfsdf.cls' did not match any file(s) known to git
The raw request sent to the new git-command endpoint is:
{"command":["add","cls/pbarton2/nesdsaf.cls cls/pbarton2/dfsdf.cls"]}
The files probably need to be split into separate args.

@isc-hwojnick isc-hwojnick requested a review from isc-pbarton July 30, 2024 19:01
@isc-hwojnick isc-hwojnick merged commit 0fa4d83 into main Jul 31, 2024
2 checks passed
@isc-hwojnick isc-hwojnick deleted the new-git-api-parsing branch July 31, 2024 12:31
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.

Better API for argument handling that reads command as array
2 participants