-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
A couple examples #932
A couple examples #932
Commits on Jul 16, 2023
-
- Implements some of the functionality provided by `git ls-tree`. - Given the additional parsing of arguments, copying what libgit2 did and use `structopt` as an additional dev-dependencies.
Configuration menu - View commit details
-
Copy full SHA for 6f4b431 - Browse repository at this point
Copy the full SHA 6f4b431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03b3423 - Browse repository at this point
Copy the full SHA 03b3423View commit details -
git log
example now shows merge parents- Also, output updated to be equivalent to the one produced by running `git log --full-history <commit> <path>`. - Shouldn't have mixed author/commit time (it was always author time being displayed by default).
Configuration menu - View commit details
-
Copy full SHA for 5cbb6a7 - Browse repository at this point
Copy the full SHA 5cbb6a7View commit details -
git log
example iterator now properly lazy- Unless reverse is required - the git log DAG is unidirectional, the whole graph must be read in order for it to be reversed - libgit2 does this internally when the `GIT_SORT_REVERSE` is specified. See: https://github.com/libgit2/libgit2/blob/v1.6.4/src/libgit2/revwalk.c#L659-L669 - Include some comments that might hopefully help future readers.
Configuration menu - View commit details
-
Copy full SHA for 8a6f1e8 - Browse repository at this point
Copy the full SHA 8a6f1e8View commit details -
git log
example filter for min/max parents- This set of filters will report (non)merge commits by filtering out commits with min/max number of parents - Also refactored the path filter logic and restructure the layout of the code block plus add in comments to make fit as an example.
Configuration menu - View commit details
-
Copy full SHA for 01e9c29 - Browse repository at this point
Copy the full SHA 01e9c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df9f70 - Browse repository at this point
Copy the full SHA 0df9f70View commit details -
git log
example include empty parents and paths- Also remember to test for empty list of paths and permit that through the filter as `any()` returns false on empty - likewise this applies to the check on list of parent_ids.
Configuration menu - View commit details
-
Copy full SHA for bd59bbe - Browse repository at this point
Copy the full SHA bd59bbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6121b8f - Browse repository at this point
Copy the full SHA 6121b8fView commit details
Commits on Jul 17, 2023
-
feat: top-level examples that represent fully-fledged command-line ap…
…plications. Please note that these are just examples, which aren't necessarily production ready in terms of quality or performance.
Configuration menu - View commit details
-
Copy full SHA for c05eb22 - Browse repository at this point
Copy the full SHA c05eb22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 908f784 - Browse repository at this point
Copy the full SHA 908f784View commit details