We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38593a commit 9c4224bCopy full SHA for 9c4224b
send-pack.c
@@ -6,6 +6,7 @@
6
#include "date.h"
7
#include "gettext.h"
8
#include "hex.h"
9
+#include "gvfs.h"
10
#include "object-store-ll.h"
11
#include "pkt-line.h"
12
#include "sideband.h"
@@ -46,7 +47,7 @@ int option_parse_push_signed(const struct option *opt,
46
47
48
static void feed_object(const struct object_id *oid, FILE *fh, int negative)
49
{
- if (negative &&
50
+ if (negative && !gvfs_config_is_set(GVFS_MISSING_OK) &&
51
!repo_has_object_file_with_flags(the_repository, oid,
52
OBJECT_INFO_SKIP_FETCH_OBJECT |
53
OBJECT_INFO_QUICK))
0 commit comments