Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tiennou
Copy link
Contributor

@tiennou tiennou commented Oct 17, 2019

Here are some commits to the example code that shape it up a little bit, the kind of things that tends to be lost on various branches when debugging. Note that this hasn't been really tested — I don't expect any obviously broken things, but as I don't remember the actual goal of 3f68eff, for example, I'm not confident 😜.

As a side note, I've rebased the example/pull WIP on top of that, as I've managed to pinpoint another lost-but-interesting commit with the tracking-remote creation helper started but incomplete.

Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

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

There's some very nice improvements here, thanks a lot! I'm mostly very happy about your changes, the only thing I don't like is the rename of lg2_add to lg2_index_add. Everything else is just stylistic or minor stuff

@tiennou tiennou force-pushed the examples/cli-ification branch from 2469579 to 357c283 Compare October 27, 2019 12:22
@tiennou
Copy link
Contributor Author

tiennou commented Oct 27, 2019

Rebased, I took some time to tackle all review comments, as well as a few more drastic changes — the "assert.h" cleanup is now global, since it's in both libgit2's and lg2's "common.h".

Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

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

Some really minor comments which should be quick to fix up, otherwise this looks very good to me!

@tiennou tiennou force-pushed the examples/cli-ification branch from 357c283 to 25fa379 Compare November 6, 2019 10:07
@tiennou tiennou force-pushed the examples/cli-ification branch 2 times, most recently from 4e12cba to 0b64465 Compare November 6, 2019 10:11
@tiennou tiennou force-pushed the examples/cli-ification branch from 0b64465 to fe42557 Compare November 6, 2019 10:19
Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

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

Thanks a lot, @tiennou! By now our examples start to look like we can really show them to others and as if they might be of help to people not knowing libgit2.

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