Skip to content

Commit 9fe715f

Browse files
author
epriestley
committed
Fix "Uploading refs <remote> to remote <refs>" log string
The argument order and string order are flipped. Before: ``` $ GIT_TRACE=1 git-lfs push origin master trace git-lfs: Upload refs origin to remote [master] ``` After: ``` $ GIT_TRACE=1 git-lfs push origin master trace git-lfs: Upload refs [master] to remote origin ```
1 parent b419488 commit 9fe715f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/command_push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func uploadsBetweenRefs(left string, right string) *lfs.TransferQueue {
3636
}
3737

3838
func uploadsBetweenRefAndRemote(remote string, refs []string) *lfs.TransferQueue {
39-
tracerx.Printf("Upload refs %v to remote %v", remote, refs)
39+
tracerx.Printf("Upload refs %v to remote %v", refs, remote)
4040

4141
scanOpt := lfs.NewScanRefsOptions()
4242
scanOpt.ScanMode = lfs.ScanLeftToRemoteMode

0 commit comments

Comments
 (0)