9aadf776
|
91
|
return error_errno(_("cannot open file '%s' in mode '%s'"), path, mode);
|
9aadf776
|
96
|
fclose(fp);
|
9aadf776
|
97
|
return error_errno(_("could not write to file '%s'"), path);
|
587c9fac
|
493
|
return error_errno(_("failed to write to '%s'"), git_path_bisect_log());
|
587c9fac
|
522
|
return error_errno(_("could not open '%s' for appending"),
|
f0bf9482
|
735
|
return BISECT_FAILED;
|
f0bf9482
|
756
|
res = BISECT_FAILED;
|
f0bf9482
|
768
|
res = BISECT_FAILED;
|
f0bf9482
|
780
|
res = BISECT_FAILED;
|
05a69202
|
823
|
fprintf(stderr, _("You need to start by \"git bisect "
|
05a69202
|
826
|
if (!isatty(STDIN_FILENO))
|
05a69202
|
827
|
return 1;
|
05a69202
|
834
|
yesno = git_prompt(_("Do you want me to do it for you "
|
05a69202
|
836
|
if (starts_with(yesno, _("n")) || starts_with(yesno, _("N")))
|
05a69202
|
837
|
return 1;
|
05a69202
|
839
|
return bisect_start(terms, 0, NULL, 0);
|
10520dbf
|
874
|
return BISECT_FAILED;
|
10520dbf
|
890
|
oid_array_clear(&revs);
|
10520dbf
|
891
|
return BISECT_FAILED;
|
f87a6d5c
|
103
|
goto print_usage_error;
|
f87a6d5c
|
109
|
goto print_usage_error;
|
f87a6d5c
|
114
|
fprintf(stderr, "Cannot use --submodule with read_early_config\n");
|
f87a6d5c
|
115
|
return TC_USAGE_ERROR;
|
f87a6d5c
|
130
|
fprintf(stderr, "Invalid argument to --submodule: '%s'\n",
|
f87a6d5c
|
132
|
free(subrepo);
|
f87a6d5c
|
133
|
ret = TC_USAGE_ERROR;
|
f87a6d5c
|
134
|
goto out;
|
f87a6d5c
|
160
|
printf("Value not found for \"%s\"\n", argv[1]);
|
d86a4b75
|
161
|
ret = TC_VALUE_NOT_FOUND;
|
f87a6d5c
|
167
|
printf("Value not found for \"%s\"\n", argv[1]);
|
d86a4b75
|
168
|
ret = TC_VALUE_NOT_FOUND;
|
f87a6d5c
|
175
|
printf("Value not found for \"%s\"\n", argv[1]);
|
d86a4b75
|
176
|
ret = TC_VALUE_NOT_FOUND;
|
f87a6d5c
|
187
|
fprintf(stderr, "Cannot use --submodule with configset_get_value\n");
|
f87a6d5c
|
188
|
ret = TC_USAGE_ERROR;
|
f87a6d5c
|
189
|
goto out;
|
f87a6d5c
|
205
|
printf("Value not found for \"%s\"\n", argv[1]);
|
d86a4b75
|
206
|
ret = TC_VALUE_NOT_FOUND;
|
f87a6d5c
|
210
|
fprintf(stderr, "Cannot use --submodule with configset_get_value_multi\n");
|
f87a6d5c
|
211
|
ret = TC_USAGE_ERROR;
|
f87a6d5c
|
212
|
goto out;
|
d86a4b75
|
218
|
ret = TC_CONFIG_FILE_ERROR;
|
d86a4b75
|
219
|
goto out;
|
f87a6d5c
|
232
|
printf("Value not found for \"%s\"\n", argv[1]);
|
d86a4b75
|
233
|
ret = TC_VALUE_NOT_FOUND;
|
f87a6d5c
|
239
|
fprintf(stderr, "Invalid syntax. Usage: test-tool config"
|
d86a4b75
|
241
|
ret = TC_USAGE_ERROR;
|
brian m. carlson
|
4b831208
|
fetch-pack: parse and advertise the object-format capability
|
brian m. carlson
|
14570dc6
|
wrapper: add function to compare strings with different NUL termination
|
brian m. carlson
|
8b85ee4f
|
transport-helper: implement object-format extensions
|
brian m. carlson
|
82db03ab
|
send-pack: detect when the server doesn't support our hash
|
brian m. carlson
|
90463f5d
|
remote-curl: detect algorithm for dumb HTTP by size
|
brian m. carlson
|
7f605017
|
remote-curl: implement object-format extensions
|
brian m. carlson
|
ab67235b
|
connect: parse v2 refs with correct hash algorithm
|
brian m. carlson
|
122037c2
|
connect: add function to detect supported v1 hash functions
|
brian m. carlson
|
9de0dd36
|
serve: advertise object-format capability for protocol v2
|
brian m. carlson
|
1349ffed
|
connect: add function to fetch value of a v2 server capability
|
brian m. carlson
|
22b74805
|
bundle: detect hash algorithm when reading refs
|
brian m. carlson
|
48bf1415
|
fetch-pack: detect when the server doesn't support our hash
|
brian m. carlson
|
715f598a
|
builtin/index-pack: add option to specify hash algorithm
|
brian m. carlson
|
88a09a55
|
builtin/show-index: provide options to determine hash algo
|
Christian Couder
|
20a359ef
|
upload-pack: move allow_sideband_all to upload_pack_data
|
Christian Couder
|
198bf8ec
|
upload-pack: move keepalive to upload_pack_data
|
Christian Couder
|
e17afe0e
|
upload-pack: change multi_ack to an enum
|
Christian Couder
|
1789fbb7
|
upload-pack: move use_sideband to upload_pack_data
|
Damien Robert
|
812a5889
|
remote.c: fix handling of %(push:remoteref)
|
Jeff King
|
6c47e1f1
|
upload-pack: actually use some upload_pack_data bitfields
|
Jiang Xin
|
1e58de8c
|
receive-pack: add new proc-receive hook
|
Jiang Xin
|
2dd1150a
|
receive-pack: new config receive.procReceiveRefs
|
Jiang Xin
|
5e4553bd
|
New capability "report-status-v2" for git-push
|
Matheus Tavares
|
40d6c71c
|
grep: honor sparse checkout patterns
|
Matheus Tavares
|
f87a6d5c
|
config: correctly read worktree configs in submodules
|
Matheus Tavares
|
d86a4b75
|
t/helper/test-config: return exit codes consistently
|
Miriam Rubio
|
9aadf776
|
bisect--helper: introduce new `write_in_file()` function
|
Miriam Rubio
|
36b543b5
|
bisect--helper: fix `cmd_*()` function switch default return
|
Phillip Wood
|
1a443767
|
rebase -i: support --ignore-date
|
Phillip Wood
|
ee9800cd
|
rebase -i: support --committer-date-is-author-date
|
Pranit Bauva
|
05a69202
|
bisect--helper: reimplement `bisect_autostart` shell function in C
|
Pranit Bauva
|
10520dbf
|
bisect--helper: reimplement `bisect_state` & `bisect_head` shell functions in C
|
Pranit Bauva
|
587c9fac
|
bisect--helper: reimplement `bisect_next` and `bisect_auto_next` shell functions in C
|
Pranit Bauva
|
f0bf9482
|
bisect--helper: finish porting `bisect_start()` to C
|
Shawn O. Pearce
|
38a81b4e
|
receive-pack: Wrap status reports inside side-band-64k
|
Shourya Shukla
|
0bf16d86
|
submodule: port subcommand 'set-branch' from shell to C
|
Xin Li
|
c89c14ea
|
fetch: allow adding a filter after initial clone
|