Commit 616cd13757ece5becbba7b9ff556cf7ed5502431

Arthur Schreiber 2014-01-14T21:08:09

Don't duplicate state that's only used when fetching.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/remote.c b/src/remote.c
index 6a4a707..0892526 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -272,7 +272,6 @@ int git_remote_dup(git_remote **dest, const git_remote *source)
 	}
 
 	remote->repo = source->repo;
-	remote->need_pack = source->need_pack;
 	remote->download_tags = source->download_tags;
 	remote->check_cert = source->check_cert;
 	remote->update_fetchhead = source->update_fetchhead;