| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| if (!repo.does_track(path)) | ||
| { | ||
| std::string msg = "fatal: pathsspec '" + path + "'is not tracked"; | ||
| throw git_exception(msg, 128); |
There was a problem hiding this comment.
You can use the new git2cpp_error_code here.
Sorry, something went wrong.
| # Check git status - should show nothing staged | ||
| status_cmd = [git2cpp_path, "status", "--long"] | ||
| p_status = subprocess.run(status_cmd, capture_output=True, cwd=xtl_path, text=True) | ||
| assert p_status.returncode == 0 |
There was a problem hiding this comment.
You don't check that nothing was staged.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.