-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Add example program to emulate 'git log' and create pathspec matching API #1711
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
921254d
Basic framework for log command
arrbee f8569d3
Add public API for pathspec matching
arrbee 90d4f6e
Extending log example code
arrbee 49e6937
More progress on log example
arrbee 0d2ee74
rev-parse example
arrbee 270cb34
Add raw header access to commit API
arrbee f46e22c
Add basic commit formatting to log output
arrbee 205a6fd
Fix example/log.c minor diffs with git log
arrbee 469bbf8
fix bug with or
8000
der args and no revision
arrbee 3a70c08
more examples/log.c bug fixing
arrbee 5e81670
Fix example/log.c pathspec handling of merges
arrbee 8248c1a
Add a bunch more features to log example
arrbee 5865a7a
Convert commit->parent_ids to git_array_t
arrbee 02570c6
Improve include/git2/pathspec.h docs
arrbee ba5ec24
Basic bit vector
arrbee 17111de
Add git_pathspec_match_diff API
arrbee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add raw header access to commit API
- Loading branch information
commit 270cb34f13ecb22acda6ca40e5dbbde78cb0112b
There are no files selected for viewing
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be an ideal place to use the typedef
array
you created. The vector here has always felt overkill.