Thread (31 messages) flat view 31 messages, 4 authors, 2016-06-15

Re: [PATCH 06/16] upload-pack: use a separate variable to control whether internal rev-list is used

From: Elijah Newren <hidden>
Date: 2016-06-15 22:49:14

Hi,

2010/7/31 Nguyễn Thái Ngọc Duy [off-list ref]:
quoted hunk ↗ jump to hunk
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
 upload-pack.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/upload-pack.c b/upload-pack.c
index dc464d7..e432e83 100644
--- a/upload-pack.c
+++ b/upload-pack.c
@@ -160,8 +160,9 @@ static void create_pack_file(void)
       ssize_t sz;
       const char *argv[10];
       int arg = 0;
+       int internal_rev_list = shallow_nr;
<snip>

I've got the exact same changes in one of my in-progress-patches in my
sparse-clone branch.  That is, other than the variable name, but I
like yours better.  Needless to say, I agree with this change.  :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help