barbedo / vivado-git

A git-friendly Vivado wrapper
Other
214 stars 38 forks source link

Vivado gets stuck on git commit #10

Closed rafaelnp closed 2 years ago

rafaelnp commented 3 years ago

I followed the instructions on the README file, and when the command git commit is executed on the Tcl console, VIvado gets stuck (see image below), even tough the Tcl script is generate and can afterwards recreate the project.

image

After clicking on cancel, nothing changes. I am using:

Would you have any hints on how to avoid/fix or debug it?

Thanks.

Arribas commented 3 years ago

The same happens to me in Vivado 2018.3...Did you found a solution? Many thanks!

Readon commented 2 years ago

try this: git commit -am "xxxxxx" it might be stucked at commit message input, which is required by git commit.

pr321 commented 2 years ago

Had the same Problem with Vivado 2020.2 on Windows10. Added a commit message like Readon suggested fixed the error, this should be updated in the README

barbedo commented 2 years ago

Hey,

Yup, this happens because you probably have a terminal-based editor as the default for commit messages, and the Tcl Console on Vivado cannot handle it.

On 021a482, I added an error message to the scripts if you try to call git commit without the -m flag. Ugly, but I can't think of a better solution right now. I also added a note to the README file.

Feel free to reopen the issue if the problem still happens.