FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Checkout subcommand by JohanMabille · Pull Request #21 · QuantStack/git2cpp · GitHub

Repository navigation

Checkout subcommand - #21

Merged
JohanMabille merged 4 commits into
QuantStack:mainfrom
JohanMabille:checkout_subcommand
Jul 22, 2025
Merged

JohanMabille merged 4 commits into
QuantStack:mainfrom
JohanMabille:checkout_subcommand

Conversation

Copy link
Copy Markdown
Member

No description provided.

JohanMabille requested a review from ianthomas23 July 22, 2025 06:30

ianthomas23 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks @JohanMabille.

Comment thread test/test_checkout.py

checkout_cmd = [git2cpp_path, 'checkout', 'foregone']
p = subprocess.run(checkout_cmd, capture_output=True, cwd="test/data/status_data", text=True)
assert(p.stdout == '');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The python assert here doesn't actually need the brackets. But we already have a few of these, so we can just leave them until we have some linting set up on the test code and that will clean them up.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I can also make a cleanup pass in a dedicated PR.

JohanMabille merged commit b811507 into QuantStack:main Jul 22, 2025
JohanMabille deleted the checkout_subcommand branch July 22, 2025 10:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL