Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

add PathFilter func(string) bool to LogOptions, #562 #1248

Closed
wants to merge 4 commits into from
Closed

add PathFilter func(string) bool to LogOptions, #562 #1248

wants to merge 4 commits into from

Conversation

ilius
Copy link
Contributor

@ilius ilius commented Nov 29, 2019

This allow filtering commits based on directory path, or regexp on file path.
It should be safe to close #562 with this.

LogOptions.FileName and NewCommitFileIterFromIter are kept for compatibility.
Let me know if they should be removed.

@ilius ilius changed the title add PathFilter func(string) bool to LogOptions add PathFilter func(string) bool to LogOptions, #562 Nov 29, 2019
keep NewCommitFileIterFromIter for compatibilty for now

Signed-off-by: Saeed Rasooli <saeed.gnu@gmail.com>
Signed-off-by: Saeed Rasooli <saeed.gnu@gmail.com>
Signed-off-by: Saeed Rasooli <saeed.gnu@gmail.com>
Signed-off-by: Saeed Rasooli <saeed.gnu@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filtering Commits Based on Files They Interact With
1 participant