- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 396
          Add gix blame --since
          #1858
        
          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
  
    Add gix blame --since
  
  #1858
              
            Conversation
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.
Wonderful, thanks so much!
I have one tiny nit for Option, and would merge right after this lands. I will wait until you have integrated it, but would also make it happen tomorrow morning if you don't get to it.
| }; | ||
|  | ||
| /// Options to be passed to [`file()`](crate::file()). | ||
| pub struct Options { | 
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.
| pub struct Options { | |
| #[derive(Default, Debug, Clone) | |
| pub struct Options { | 
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.
Thanks for the suggestion, applied!
32e36e4    to
    05fc5df      
    Compare
  
    | One thing I forgot to mention: there’s now an inconsistency between  | 
aa5a370    to
    ca1dfc7      
    Compare
  
    ca1dfc7    to
    e7084d8      
    Compare
  
    | Thanks a lot, and sorry for the long wait! 
 I don't think I follow, but if you think this is something that could be fixed, I encourage doing so in a follow-up. To me it sounds like copy-types shouldn't be borrowed by default. | 
| Sorry, my question was lacking a lot of context! :-) I was referring to these functions: fn commit_time(commit: &gix_traverse::commit::Either<'_, '_>)
fn collect_parents(commit: gix_traverse::commit::Either<'_, '_>, ...)
fn tree_id(commit: gix_traverse::commit::Either<'_, '_>)All of them take an  | 
| Yes, I think it would make sense to make it consistent. If you wanted to tackle it, it's a tough choice to go for one or the other.  | 
| 
 I‘ll weigh the options and create a follow-up PR! | 
This PR adds support for
--since=<date>togix blame. I’ve run a couple of manual tests on my machine and the results seem to matchgit’s results (apart from differences due to the slider problem as far as I can see).