Skip to content

Commit e22660e

Browse files
Merge pull request #22 from gurjeet/prune_deleted_objects
Prune objects that have been deleted in the remote
2 parents 011222a + 863ffdf commit e22660e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Main.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Main {
5555
static function fetch(remote, local, callback)
5656
{
5757
ChildProcess.exec('git -C "$local" remote set-url origin "$remote"', function(err, stdout, stderr) {
58-
ChildProcess.exec('git -C "$local" fetch --quiet', callback);
58+
ChildProcess.exec('git -C "$local" fetch --quiet --prune --prune-tags', callback);
5959
});
6060
}
6161

0 commit comments

Comments
 (0)