9aadf776
|
90
|
return error_errno(_("cannot open file '%s' in mode '%s'"), path, mode);
|
9aadf776
|
95
|
fclose(fp);
|
9aadf776
|
96
|
return error_errno(_("could not write to file '%s'"), path);
|
587c9fac
|
492
|
return error_errno(_("failed to write to '%s'"), git_path_bisect_log());
|
587c9fac
|
521
|
return error_errno(_("could not open '%s' for appending"),
|
f0bf9482
|
734
|
return BISECT_FAILED;
|
f0bf9482
|
755
|
res = BISECT_FAILED;
|
f0bf9482
|
767
|
res = BISECT_FAILED;
|
f0bf9482
|
779
|
res = BISECT_FAILED;
|
05a69202
|
822
|
fprintf(stderr, _("You need to start by \"git bisect "
|
05a69202
|
825
|
if (!isatty(STDIN_FILENO))
|
05a69202
|
826
|
return 1;
|
05a69202
|
833
|
yesno = git_prompt(_("Do you want me to do it for you "
|
05a69202
|
835
|
if (starts_with(yesno, _("n")) || starts_with(yesno, _("N")))
|
05a69202
|
836
|
return 1;
|
05a69202
|
838
|
return bisect_start(terms, 0, NULL, 0);
|
10520dbf
|
873
|
return BISECT_FAILED;
|
10520dbf
|
889
|
oid_array_clear(&revs);
|
10520dbf
|
890
|
return BISECT_FAILED;
|
a2371e32
|
103
|
goto print_usage_error;
|
92bca22f
|
109
|
goto print_usage_error;
|
92bca22f
|
114
|
fprintf(stderr, "Cannot use --submodule with read_early_config\n");
|
92bca22f
|
115
|
return TC_USAGE_ERROR;
|
92bca22f
|
130
|
fprintf(stderr, "Invalid argument to --submodule: '%s'\n",
|
92bca22f
|
132
|
free(subrepo);
|
92bca22f
|
133
|
ret = TC_USAGE_ERROR;
|
92bca22f
|
134
|
goto out;
|
a2371e32
|
160
|
printf("Value not found for \"%s\"\n", argv[1]);
|
b77651be
|
161
|
ret = TC_VALUE_NOT_FOUND;
|
a2371e32
|
167
|
printf("Value not found for \"%s\"\n", argv[1]);
|
b77651be
|
168
|
ret = TC_VALUE_NOT_FOUND;
|
a2371e32
|
175
|
printf("Value not found for \"%s\"\n", argv[1]);
|
b77651be
|
176
|
ret = TC_VALUE_NOT_FOUND;
|
92bca22f
|
187
|
fprintf(stderr, "Cannot use --submodule with configset_get_value\n");
|
92bca22f
|
188
|
ret = TC_USAGE_ERROR;
|
92bca22f
|
189
|
goto out;
|
a2371e32
|
205
|
printf("Value not found for \"%s\"\n", argv[1]);
|
b77651be
|
206
|
ret = TC_VALUE_NOT_FOUND;
|
92bca22f
|
210
|
fprintf(stderr, "Cannot use --submodule with configset_get_value_multi\n");
|
92bca22f
|
211
|
ret = TC_USAGE_ERROR;
|
92bca22f
|
212
|
goto out;
|
b77651be
|
218
|
ret = TC_CONFIG_FILE_ERROR;
|
b77651be
|
219
|
goto out;
|
a2371e32
|
232
|
printf("Value not found for \"%s\"\n", argv[1]);
|
b77651be
|
233
|
ret = TC_VALUE_NOT_FOUND;
|
92bca22f
|
239
|
fprintf(stderr, "Invalid syntax. Usage: test-tool config"
|
b77651be
|
241
|
ret = TC_USAGE_ERROR;
|
Damien Robert
|
812a5889
|
remote.c: fix handling of %(push:remoteref)
|
Emily Shaffer
|
933f1b2e
|
hook: add list command
|
Jiang Xin
|
1e58de8c
|
receive-pack: add new proc-receive hook
|
Jiang Xin
|
5e4553bd
|
New capability "report-status-v2" for git-push
|
Jiang Xin
|
2dd1150a
|
receive-pack: new config receive.procReceiveRefs
|
Matheus Tavares
|
a2371e32
|
t/helper/test-config: facilitate addition of new cli options
|
Matheus Tavares
|
92bca22f
|
config: correctly read worktree configs in submodules
|
Matheus Tavares
|
b77651be
|
t/helper/test-config: return exit codes consistently
|
Matheus Tavares
|
e26e8bfc
|
grep: honor sparse checkout patterns
|
Miriam Rubio
|
36b543b5
|
bisect--helper: fix `cmd_*()` function switch default return
|
Miriam Rubio
|
9aadf776
|
bisect--helper: introduce new `write_in_file()` function
|
Phillip Wood
|
86696a9d
|
rebase -i: support --ignore-date
|
Phillip Wood
|
e12c40fd
|
rebase -i: support --committer-date-is-author-date
|
Pranit Bauva
|
10520dbf
|
bisect--helper: reimplement `bisect_state` & `bisect_head` shell functions in C
|
Pranit Bauva
|
05a69202
|
bisect--helper: reimplement `bisect_autostart` shell function in C
|
Pranit Bauva
|
f0bf9482
|
bisect--helper: finish porting `bisect_start()` to C
|
Pranit Bauva
|
587c9fac
|
bisect--helper: reimplement `bisect_next` and `bisect_auto_next` shell functions in C
|
Shawn O. Pearce
|
38a81b4e
|
receive-pack: Wrap status reports inside side-band-64k
|
Taylor Blau
|
2129af73
|
list_objects_filter_options: introduce 'list_object_filter_config_name'
|
Abhishek Kumar
|
4844812b
|
commit-graph: introduce commit_graph_data_slab
|
brian m. carlson
|
122037c2
|
connect: add function to detect supported v1 hash functions
|
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
|
ac093d07
|
remote-curl: detect algorithm for dumb HTTP by size
|
brian m. carlson
|
7f605017
|
remote-curl: implement object-format extensions
|
brian m. carlson
|
4b831208
|
fetch-pack: parse and advertise the object-format capability
|
brian m. carlson
|
ab67235b
|
connect: parse v2 refs with correct hash algorithm
|
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
|
6161ce7b
|
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
|
88a09a55
|
builtin/show-index: provide options to determine hash algo
|
brian m. carlson
|
bb095d08
|
builtin/receive-pack: detect when the server doesn't support our hash
|
brian m. carlson
|
586740aa
|
builtin/index-pack: add option to specify hash algorithm
|
Chris Torek
|
8bfcb3a6
|
git diff: improve range handling
|
Christian Couder
|
f203a88c
|
upload-pack: move keepalive to upload_pack_data
|
Christian Couder
|
f8edd1ca
|
upload-pack: move use_sideband to upload_pack_data
|
Christian Couder
|
e9d882b8
|
upload-pack: change multi_ack to an enum
|
Christian Couder
|
ea2c6e60
|
upload-pack: refactor common code into do_got_oid()
|
Don Goodman-Wilson
|
8747ebb7
|
init: allow setting the default for the initial branch name via the config
|
Elijah Newren
|
051df3cf
|
wt-status: show sparse checkout status as well
|
Elijah Newren
|
f7f5c6c0
|
clean: consolidate handling of ignored parameters
|
Elijah Newren
|
351ea1c3
|
dir, clean: avoid disallowed behavior
|
Eric Sunshine
|
c9b77f2c
|
worktree: factor out repeated string literal
|
Eric Sunshine
|
916133ef
|
worktree: prune linked worktree referencing main worktree path
|
Eric Sunshine
|
d179af67
|
worktree: generalize candidate worktree path validation
|
Jeff King
|
b5a2068c
|
upload-pack: actually use some upload_pack_data bitfields
|
Jeff King
|
750bb325
|
fast-export: store anonymized oids as hex strings
|
Jeff King
|
65b5d9fa
|
fast-export: allow seeding the anonymized mapping
|
Jeff King
|
a0f65641
|
fast-export: stop storing lengths in anonymized hashmaps
|
Johannes Schindelin
|
32ba12da
|
init: allow specifying the initial branch name for the new repository
|
Jonathan Tan
|
acaaca7d
|
upload-pack: refactor reading of pack-objects out
|
Jonathan Tan
|
dd4b732d
|
upload-pack: send part of packfile response as uri
|
Jonathan Tan
|
8d5d2a34
|
http-fetch: support fetching packfiles by URL
|
Jonathan Tan
|
8e6adb69
|
http-fetch: refactor into function
|
Jonathan Tan
|
9da69a65
|
fetch-pack: support more than one pack lockfile
|
Patrick Steinhardt
|
67541597
|
refs: implement reference transaction hook
|
Randall S. Becker
|
f64b6a1f
|
bugreport.c: replace strbuf_write_fd with write_in_full
|
Shourya Shukla
|
2964d6e5
|
submodule: port subcommand 'set-branch' from shell to C
|
Xin Li
|
98564d80
|
sparse-checkout: upgrade repository to version 1 when enabling extension
|