Skip to content

Commit c638ef9

Browse files
committed
Removed the --no-single-branch argument from fetch and pull because it doesn't exist
1 parent e74d1a2 commit c638ef9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Commands/Fetch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public Fetch(string repo, string remote, bool noTags, bool force, int depth)
2121
Args += "--force ";
2222

2323
if(depth > 0)
24-
Args += $"--depth {depth} --no-single-branch ";
24+
Args += $"--depth {depth} ";
2525

2626
Args += remote;
2727
}
@@ -35,7 +35,7 @@ public Fetch(string repo, Models.Branch local, Models.Branch remote, int depth)
3535
Args = $"fetch --progress --verbose {remote.Remote} {remote.Name}:{local.Name}";
3636

3737
if(depth > 0)
38-
Args += $"--depth {depth} --no-single-branch ";
38+
Args += $"--depth {depth} ";
3939
}
4040

4141
public async Task<bool> RunAsync()

src/Commands/Pull.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public Pull(string repo, string remote, string branch, bool useRebase, int depth
1616
Args += "--rebase=true ";
1717

1818
if(depth > 0)
19-
Args += $"--depth {depth} --no-single-branch ";
19+
Args += $"--depth {depth} ";
2020

2121
Args += $"{remote} {branch}";
2222
}

0 commit comments

Comments
 (0)