Skip to content

Commit 8fdea42

Browse files
committed
Fixed order and spacing
1 parent c638ef9 commit 8fdea42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Commands/Fetch.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ public Fetch(string repo, Models.Branch local, Models.Branch remote, int depth)
3232

3333
WorkingDirectory = repo;
3434
Context = repo;
35-
Args = $"fetch --progress --verbose {remote.Remote} {remote.Name}:{local.Name}";
35+
Args = "fetch --progress --verbose ";
3636

3737
if(depth > 0)
3838
Args += $"--depth {depth} ";
39+
40+
Args += $"{remote.Remote} {remote.Name}:{local.Name}";
3941
}
4042

4143
public async Task<bool> RunAsync()

0 commit comments

Comments
 (0)