-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t/40-commit: Extract assert_branch function and abbreviate commits
All calls to git-show-ref now set --abbrev=12 to make things a bit more short and sweet. If this fails under earlier versions of Git that we need to support with tests, we'll have to back this out, but it's been tested on 2.11.0 and 1.9.1. The new assert_branch function in most cases takes the just the git-show-ref output, but you can give it a branch name if you need to get information for a branch other than the default $branch we put our test commits on.
- Loading branch information
Showing
1 changed file
with
12 additions
and
15 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