-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add _lp_git_commits_off_remote() function
I got this down from 4 git calls to 1. The trick is both the "@{upstream}" directive, the "--left-right" flag, and the "<commit>...<commit>" notation. If there is no upstream tracking branch, return 2.
- Loading branch information
Showing
1 changed file
with
21 additions
and
19 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