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 0e66d50 commit 625e606Copy full SHA for 625e606
send-pack.c
@@ -4,6 +4,7 @@
4
#include "date.h"
5
#include "gettext.h"
6
#include "hex.h"
7
+#include "gvfs.h"
8
#include "object-store-ll.h"
9
#include "pkt-line.h"
10
#include "sideband.h"
@@ -45,7 +46,7 @@ int option_parse_push_signed(const struct option *opt,
45
46
static void feed_object(struct repository *r,
47
const struct object_id *oid, FILE *fh, int negative)
48
{
- if (negative &&
49
+ if (negative && !gvfs_config_is_set(GVFS_MISSING_OK) &&
50
!repo_has_object_file_with_flags(r, oid,
51
OBJECT_INFO_SKIP_FETCH_OBJECT |
52
OBJECT_INFO_QUICK))
0 commit comments