Merge branch 'nd/push-no-thin'
"git push --no-thin" was a no-op by mistake. * nd/push-no-thin: push: respect --no-thin
This commit is contained in:
@ -15,7 +15,7 @@ static const char * const push_usage[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static int thin;
|
||||
static int thin = 1;
|
||||
static int deleterefs;
|
||||
static const char *receivepack;
|
||||
static int verbosity;
|
||||
@ -315,8 +315,7 @@ static int push_with_options(struct transport *transport, int flags)
|
||||
if (receivepack)
|
||||
transport_set_option(transport,
|
||||
TRANS_OPT_RECEIVEPACK, receivepack);
|
||||
if (thin)
|
||||
transport_set_option(transport, TRANS_OPT_THIN, "yes");
|
||||
transport_set_option(transport, TRANS_OPT_THIN, thin ? "yes" : NULL);
|
||||
|
||||
if (!is_empty_cas(&cas)) {
|
||||
if (!transport->smart_options)
|
||||
|
||||
Reference in New Issue
Block a user