ce6521e4
|
24
|
use_branch_desc = git_config_bool(key, value);
|
ce6521e4
|
75
|
continue;
|
ce6521e4
|
107
|
return 1;
|
ce6521e4
|
113
|
return 2;
|
ce6521e4
|
117
|
return 3;
|
ce6521e4
|
126
|
line[len - 1] = 0;
|
ce6521e4
|
167
|
origin = src;
|
ce6521e4
|
168
|
string_list_append(&src_data->generic, line);
|
ce6521e4
|
169
|
src_data->head_status |= 2;
|
ce6521e4
|
188
|
return;
|
ce6521e4
|
201
|
static void add_branch_desc(struct strbuf *out, const char *name)
|
ce6521e4
|
203
|
struct strbuf desc = STRBUF_INIT;
|
ce6521e4
|
205
|
if (!read_branch_desc(&desc, name)) {
|
ce6521e4
|
206
|
const char *bp = desc.buf;
|
ce6521e4
|
207
|
while (*bp) {
|
ce6521e4
|
208
|
const char *ep = strchrnul(bp, '\n');
|
ce6521e4
|
209
|
if (*ep)
|
ce6521e4
|
210
|
ep++;
|
ce6521e4
|
211
|
strbuf_addf(out, " : %.*s", (int)(ep - bp), bp);
|
ce6521e4
|
212
|
bp = ep;
|
ce6521e4
|
214
|
strbuf_complete_line(out);
|
ce6521e4
|
216
|
strbuf_release(&desc);
|
ce6521e4
|
217
|
}
|
ce6521e4
|
231
|
return;
|
ce6521e4
|
239
|
return;
|
ce6521e4
|
276
|
else if (people->nr)
|
ce6521e4
|
277
|
strbuf_addf(out, "%s (%d) and others",
|
ce6521e4
|
278
|
people->items[0].string,
|
ce6521e4
|
279
|
(int)util_as_integral(&people->items[0]));
|
ce6521e4
|
342
|
return;
|
ce6521e4
|
355
|
if (opts->credit_people)
|
ce6521e4
|
356
|
record_person('c', &committers, commit);
|
ce6521e4
|
372
|
string_list_append(&subjects,
|
ce6521e4
|
373
|
oid_to_hex(&commit->object.oid));
|
ce6521e4
|
387
|
add_branch_desc(out, name);
|
ce6521e4
|
425
|
subsep = ", ";
|
ce6521e4
|
426
|
strbuf_addstr(out, "HEAD");
|
ce6521e4
|
446
|
strbuf_addstr(out, subsep);
|
ce6521e4
|
447
|
print_joined("commit ", "commits ", &src_data->generic,
|
e261ddc5
|
498
|
strbuf_addstr(&sig, "gpg verification failed.\n");
|
ce6521e4
|
507
|
if (tag_number == 2) {
|
ce6521e4
|
508
|
struct strbuf tagline = STRBUF_INIT;
|
ce6521e4
|
509
|
strbuf_addch(&tagline, '\n');
|
ce6521e4
|
510
|
strbuf_add_commented_lines(&tagline,
|
ce6521e4
|
511
|
origins.items[first_tag].string,
|
ce6521e4
|
512
|
strlen(origins.items[first_tag].string));
|
ce6521e4
|
513
|
strbuf_insert(&tagbuf, 0, tagline.buf,
|
ce6521e4
|
515
|
strbuf_release(&tagline);
|
ce6521e4
|
517
|
strbuf_addch(&tagbuf, '\n');
|
ce6521e4
|
518
|
strbuf_add_commented_lines(&tagbuf,
|
ce6521e4
|
519
|
origins.items[i].string,
|
ce6521e4
|
520
|
strlen(origins.items[i].string));
|
ce6521e4
|
521
|
fmt_tag_signature(&tagbuf, &sig, buf, len);
|
ce6521e4
|
566
|
continue;
|
43feef4a
|
473
|
fprintf(stdout, "%c\t:%s\t", flag, target_refname);
|
43feef4a
|
556
|
print_ref_status('X', "[no match]", NULL, ref, NULL, NULL,
|
43feef4a
|
560
|
print_ref_status('!', "[rejected]", NULL, ref, NULL,
|
43feef4a
|
565
|
print_ref_status('=', "[up to date]", NULL, ref,
|
43feef4a
|
581
|
print_ref_status('!', "[rejected]", NULL, ref, ref->peer_ref,
|
43feef4a
|
589
|
print_ref_status('!', "[rejected]", NULL, ref, ref->peer_ref,
|
43feef4a
|
599
|
print_ref_status('!', "[remote failure]", NULL, ref,
|
Denton Liu
|
2ad2d055
|
sequencer: extract perform_autostash() from rebase
|
Denton Liu
|
ce6521e4
|
Lib-ify fmt-merge-msg
|
Denton Liu
|
9460fd48
|
Lib-ify prune-packed
|
Denton Liu
|
7cd76158
|
reset: extract reset_head() from rebase
|
Denton Liu
|
e743716a
|
sequencer: use file strbuf for read_oneliner()
|
Denton Liu
|
dcf14833
|
rebase: use apply_autostash() from sequencer.c
|
Denton Liu
|
54ab5233
|
sequencer: make apply_rebase() accept a path
|
Denton Liu
|
92470920
|
rebase: use read_oneliner()
|
Denton Liu
|
796ff68d
|
rebase: generify reset_head()
|
Derrick Stolee
|
e3696980
|
diff: halt tree-diff early after max_changes
|
Derrick Stolee
|
8fd5ec4f
|
dir: refactor treat_directory to clarify control flow
|
Elijah Newren
|
bb8f652e
|
dir: replace exponential algorithm with a linear one
|
Emily Shaffer
|
dd763e68
|
help: move list_config_help to builtin/help
|
Emily Shaffer
|
ec8a5ea9
|
bugreport: add tool to generate debugging info
|
Emily Shaffer
|
f0b79bb2
|
bugreport: add uname info
|
Emily Shaffer
|
765e8219
|
bugreport: gather git version and build info
|
Garima Singh
|
749d958c
|
revision.c: add trace2 stats around Bloom filter usage
|
Garima Singh
|
f1294eaf
|
bloom.c: introduce core Bloom filter constructs
|
Garima Singh
|
52480757
|
commit-graph: write Bloom filters to commit graph file
|
Garima Singh
|
3d112755
|
commit-graph: examine commits by generation number
|
Garima Singh
|
fa63c5b3
|
revision.c: use Bloom filters to speed up path based revision walks
|
Garima Singh
|
f97b9325
|
commit-graph: compute Bloom filters for changed paths
|
Garima Singh
|
ed591feb
|
bloom.c: core Bloom filter implementation for changed paths.
|
Jeff King
|
d21ee7d1
|
commit-graph: examine changed-path objects in pack order
|
Jiang Xin
|
c7ea37de
|
receive-pack: add new proc-receive hook
|
Jiang Xin
|
9f699cce
|
receive-pack: new config receive.procReceiveRefs
|
Jiang Xin
|
43feef4a
|
receive-pack: refactor report for proc-receive
|
Junio C Hamano
|
e261ddc5
|
Merge branch 'dl/libify-a-few' into pu
|
Patrick Steinhardt
|
d90788d2
|
update-ref: move transaction handling into `update_refs_stdin()`
|
Patrick Steinhardt
|
edc30691
|
refs: fix segfault when aborting empty transaction
|
Patrick Steinhardt
|
fb9e95b4
|
update-ref: implement interactive transaction handling
|
Patrick Steinhardt
|
1f2a79ad
|
update-ref: organize commands in an array
|
Ævar Arnfjörð Bjarmason
|
5cc044e0
|
get_short_oid: sort ambiguous objects by type, then SHA-1
|
brian m. carlson
|
910650d2
|
Rename sha1_array to oid_array
|
Damien Robert
|
a761fb70
|
remote.c: fix handling of %(push:remoteref)
|
Denton Liu
|
7cd54d37
|
wrapper: indent with tabs
|
Elijah Newren
|
7af7a258
|
unpack-trees: add a new update_sparsity() function
|
Jeff King
|
16ddcd40
|
sha1_array: let callbacks interrupt iteration
|
Jeff King
|
ed4b804e
|
test-tool: rename sha1-array to oid-array
|
Jonathan Tan
|
52e8d194
|
rebase --merge: optionally skip upstreamed commits
|
Josh Steadmon
|
3d3adaad
|
trace2: teach Git to log environment variables
|
brian m. carlson
|
13e7ed6a
|
builtin/checkout: compute checkout metadata for checkouts
|
brian m. carlson
|
efa7ae36
|
init-db: move writing repo version into a function
|
brian m. carlson
|
8b8f7189
|
builtin/init-db: allow specifying hash algorithm on command line
|
brian m. carlson
|
3c9331a1
|
builtin/init-db: add environment variable for new repo hash
|
brian m. carlson
|
ab90ecae
|
convert: permit passing additional metadata to filter processes
|
brian m. carlson
|
ddddf8d7
|
fast-import: permit reading multiple marks files
|
brian m. carlson
|
1bdca816
|
fast-import: add options for rewriting submodules
|
brian m. carlson
|
94127599
|
repository: require a build flag to use SHA-256
|
brian m. carlson
|
768e30ea
|
hash: implement and use a context cloning function
|
brian m. carlson
|
e02a7141
|
worktree: allow repository version 1
|
Hans Jerry Illikainen
|
67948981
|
gpg-interface: prefer check_signature() for GPG verification
|