Skip to content

Commit cc9b7fd

Browse files
committed
Add HEAD to the allBranchesRevSpec
1 parent 32fc0c3 commit cc9b7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/git/PBGitRevSpecifier.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ - (id) initWithCoder:(NSCoder *)coder
5656
+ (PBGitRevSpecifier *)allBranchesRevSpec
5757
{
5858
// Using --all here would include refs like refs/notes/commits, which probably isn't what we want.
59-
return [[PBGitRevSpecifier alloc] initWithParameters:[NSArray arrayWithObjects:@"--branches", @"--remotes", @"--tags", @"--glob=refs/stash*", nil] description:@"All branches"];
59+
return [[PBGitRevSpecifier alloc] initWithParameters:[NSArray arrayWithObjects:@"--branches", @"--remotes", @"--tags", @"--glob=refs/stash*", @"HEAD", nil] description:@"All branches"];
6060
}
6161

6262
+ (PBGitRevSpecifier *)localBranchesRevSpec

0 commit comments

Comments
 (0)