forked from jedbrown/git-fat
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkout: have my cake and eat it too
Turns out that checkout-index can acutally be passed multiple paths (like most git commands). This should give the same performance increase as before but without needing an extra argument and including the benefit for everyone else. Thanks @demonyangyue!
- Loading branch information
1 parent
6102f22
commit 2b43a1b
Showing
1 changed file
with
4 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
2b43a1b
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.
@abraithwaite , thanks for this awesome enhancement!
Per my testing , it has the same performance improvement as the extra argument version, and works well with dirty working directory and sparse checkout. Amazing!
2b43a1b
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.
Hey, I wouldn't have found it without your pull request! Thanks for pointing out the performance boost! 👍
2b43a1b
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 is great! Thanks!