aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/receive-pack.c
AgeCommit message (Expand)AuthorFilesLines
2018-09-24Merge branch 'en/double-semicolon-fix'Junio C Hamano1-1/+1
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-2/+2
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-0/+1
2018-09-05Remove superfluous trailing semicolonsElijah Newren1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-3/+3
2018-07-24Merge branch 'hs/push-cert-check-cleanup'Junio C Hamano1-15/+2
2018-07-20commit.h: remove method declarationsDerrick Stolee1-0/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-1/+2
2018-07-11builtin/receive-pack: use check_signature from gpg-interfaceHenning Schild1-15/+2
2018-06-29object: add repository argument to parse_objectStefan Beller1-3/+3
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-1/+2
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-4/+4
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+1
2018-05-30Merge branch 'ma/lockfile-cleanup'Junio C Hamano1-1/+1
2018-05-18shallow: add repository argument to register_shallowStefan Beller1-1/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-10lock_file: make function-local locks non-staticMartin Ågren1-1/+1
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-0/+6
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-05-02builtin/receive-pack: convert one use of EMPTY_TREE_SHA1_HEXbrian m. carlson1-1/+1
2018-05-02builtin/receive-pack: avoid hard-coded constants for push certsbrian m. carlson1-3/+3
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-04-11Merge branch 'sb/packfiles-in-repository'Junio C Hamano1-1/+2
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-1/+1
2018-03-26packfile: add repository argument to reprepare_packed_gitStefan Beller1-1/+2
2018-03-26object-store: close all packs upon clearing the object storeStefan Beller1-1/+1
2018-03-14protocol: introduce enum protocol_version value protocol_v2Brandon Williams1-0/+6
2018-03-14Convert find_unique_abbrev* to struct object_idbrian m. carlson1-4/+4
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-5/+6
2017-12-06Merge branch 'bw/protocol-v1'Junio C Hamano1-0/+17
2017-10-17upload-pack, receive-pack: introduce protocol version 1Brandon Williams1-0/+17
2017-10-16Convert check_connected to use struct object_idbrian m. carlson1-5/+5
2017-10-16refs: update ref transactions to use struct object_idbrian m. carlson1-2/+2
2017-10-05Merge branch 'rs/resolve-ref-optional-result'Junio C Hamano1-2/+1
2017-10-01refs: pass NULL to resolve_refdup() if hash is not neededRené Scharfe1-2/+1
2017-09-28Merge branch 'rs/resolve-ref-optional-result'Junio C Hamano1-2/+1
2017-09-25Merge branch 'jk/write-in-full-fix'Junio C Hamano1-1/+1
2017-09-24refs: pass NULL to resolve_ref_unsafe() if hash is not neededRené Scharfe1-2/+1
2017-09-14avoid "write_in_full(fd, buf, len) != len" patternJeff King1-1/+1
2017-08-23pack: move pack-closing functionsJonathan Tan1-0/+1
2017-08-11Merge branch 'bw/object-id'Junio C Hamano1-1/+1
2017-07-17receive-pack: don't access hash of NULL object_id pointerRené Scharfe1-1/+1
2017-07-17Convert remaining callers of get_sha1 to get_oid.brian m. carlson1-2/+2
2017-07-12Merge branch 'rs/use-div-round-up'Junio C Hamano1-1/+1
2017-07-10use DIV_ROUND_UPRené Scharfe1-1/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-04Merge branch 'jt/push-options-doc' into maintJunio C Hamano1-2/+49
2017-05-29Merge branch 'js/plug-leaks'Junio C Hamano1-1/+3
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-4/+4
2017-05-23Merge branch 'jt/push-options-doc'Junio C Hamano1-2/+49
2017-05-16Merge branch 'js/larger-timestamps'Junio C Hamano1-7/+7
2017-05-10receive-pack: verify push options in certJonathan Tan1-2/+49
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-3/+3
2017-05-08shallow: convert shallow registration functions to object_idbrian m. carlson1-1/+1
2017-05-08receive-pack: plug memory leak in update()Johannes Schindelin1-1/+3
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-3/+3
2017-04-23Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano1-2/+2
2017-04-23Merge branch 'jk/quarantine-received-objects'Junio C Hamano1-1/+0
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin1-2/+2
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin1-2/+2
2017-04-19Merge branch 'bc/object-id'Junio C Hamano1-67/+67
2017-04-18xgethostname: handle long hostnamesDavid Turner1-1/+1
2017-04-18use HOST_NAME_MAX to size buffers for gethostname(2)René Scharfe1-1/+1
2017-04-16Merge branch 'jk/snprintf-cleanups'Junio C Hamano1-7/+10
2017-04-16receive-pack: drop tmp_objdir_env from run_update_hookJeff King1-1/+0
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-12/+12
2017-03-31Convert sha1_array_for_each_unique and for_each_abbrev to object_idbrian m. carlson1-6/+6
2017-03-31Make sha1_array_append take a struct object_id *brian m. carlson1-3/+3
2017-03-30receive-pack: print --pack-header directly into argv arrayJeff King1-7/+10
2017-03-30Merge branch 'bc/push-cert-receive-fix'Junio C Hamano1-1/+1
2017-03-28Merge branch 'rs/update-hook-optim' into maintJunio C Hamano1-8/+5
2017-03-28sha1-array: convert internal storage for struct sha1_array to object_idbrian m. carlson1-2/+2
2017-03-28builtin/receive-pack: convert portions to struct object_idbrian m. carlson1-49/+49
2017-03-28builtin/receive-pack: fix incorrect pointer arithmeticbrian m. carlson1-1/+1
2017-03-26Convert GIT_SHA1_RAWSZ used for allocation to GIT_MAX_RAWSZbrian m. carlson1-1/+1
2017-03-24Merge branch 'rs/update-hook-optim'Junio C Hamano1-8/+5
2017-03-24Merge branch 'jk/push-deadlock-regression-fix' into maintJunio C Hamano1-1/+4
2017-03-18receive-pack: simplify run_update_post_hook()René Scharfe1-8/+5
2017-03-17Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2017-03-14Merge branch 'jk/push-deadlock-regression-fix'Junio C Hamano1-1/+4
2017-03-07receive-pack: fix deadlock when we cannot create tmpdirJeff King1-1/+4
2017-02-22Convert remaining callers of resolve_refdup to object_idbrian m. carlson1-2/+2
2017-02-08receive-pack: avoid duplicates between our refs and alternatesJeff King1-1/+3
2017-02-08receive-pack: treat namespace .have lines like alternatesJeff King1-3/+7
2017-02-08receive-pack: fix misleading namespace/.have commentJeff King1-4/+1
2017-02-08receive-pack: use oidset to de-duplicate .have linesJeff King1-14/+12
2017-02-08for_each_alternate_ref: pass name/oid instead of ref structJeff King1-2/+4
2017-02-02Merge branch 'rs/receive-pack-cleanup'Junio C Hamano1-2/+1
2017-01-30receive-pack: call string_list_clear() unconditionallyRené Scharfe1-2/+1
2016-12-05receive-pack: improve English grammar of denyCurrentBranch messageAlex Henrie1-2/+2
2016-10-31Merge branch 'ls/filter-process'Junio C Hamano1-2/+2
2016-10-26find_unique_abbrev: use 4-buffer ringJeff King1-10/+6
2016-10-17Merge branch 'jk/quarantine-received-objects'Junio C Hamano1-1/+40
2016-10-17pkt-line: rename packet_write() to packet_write_fmt()Lars Schneider1-2/+2
2016-10-10receive-pack: quarantine objects until pre-receive acceptsJeff King1-1/+40
2016-09-26sha1_array: let callbacks interrupt iterationJeff King1-1/+2
2016-09-21Merge branch 'va/i18n'Junio C Hamano1-33/+25
2016-09-15i18n: receive-pack: mark messages for translationVasco Almeida1-33/+25
2016-08-24receive-pack: allow a maximum input size to be specifiedJeff King1-0/+12
2016-08-17Merge branch 'jk/tighten-alloc'Junio C Hamano1-3/+1
2016-08-13receive-pack: use FLEX_ALLOC_MEM in queue_command()René Scharfe1-3/+1
2016-08-03Merge branch 'jk/push-progress'Junio C Hamano1-8/+92
2016-07-20receive-pack: send keepalives during quiet periodsJeff King1-1/+67
2016-07-20receive-pack: turn on connectivity progressJeff King1-0/+1
2016-07-20receive-pack: relay connectivity errors to sidebandJeff King1-1/+17
2016-07-20receive-pack: turn on index-pack resolving progressJeff King1-0/+2
2016-07-20check_everything_connected: use a struct with named optionsJeff King1-7/+6
2016-07-14receive-pack: implement advertising and receiving push optionsStefan Beller1-0/+30
2016-07-14push options: {pre,post}-receive hook learns about push optionsStefan Beller1-13/+34
2016-06-27Merge branch 'lf/receive-pack-auto-gc-to-client'Junio C Hamano1-2/+13
2016-06-06receive-pack: send auto-gc output over sideband 2Lukas Fleischer1-2/+13
2016-04-25Merge branch 'dt/pre-refs-backend'Junio C Hamano1-1/+1
2016-04-10check_aliased_update(): check that dst_name is non-NULLMichael Haggerty1-1/+1
2016-03-01builtin/receive-pack.c: use parse_options APISidhant Sharma [:tk]1-33/+20
2016-02-22use st_add and st_mult for allocation size computationJeff King1-1/+1
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-3/+2
2016-02-22convert manual allocations to argv_arrayJeff King1-9/+3
2016-02-05Merge branch 'js/close-packs-before-gc' into maintJunio C Hamano1-0/+1
2016-02-05Merge branch 'jk/clang-pedantic' into maintJunio C Hamano1-1/+1
2016-01-13receive-pack: release pack files before garbage-collectingJohannes Schindelin1-0/+1
2016-01-04avoid shifting signed integers 31 bitsJeff King1-1/+1
2015-11-20Convert struct ref to use object_id.brian m. carlson1-1/+1
2015-11-05hideRefs: add support for matching full refsLukas Fleischer1-6/+21
2015-10-05receive-pack: simplify keep_arg computationJeff King1-7/+10
2015-10-05use sha1_to_hex_r() instead of strcpyJeff King1-6/+9
2015-09-25receive-pack: convert strncpy to xsnprintfJeff King1-2/+2
2015-08-03Merge branch 'jx/do-not-crash-receive-pack-wo-head'Junio C Hamano1-1/+1
2015-07-22receive-pack: crash when checking with non-exist HEADJiang Xin1-1/+1
2015-06-23fsck: git receive-pack: support excluding objects from fsck'ingJohannes Schindelin1-0/+11
2015-06-23fsck (receive-pack): allow demoting errors to warningsJohannes Schindelin1-2/+15
2015-05-25show_ref_cb(): rewrite to take an object_id argumentMichael Haggerty1-5/+3
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-1/+4
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-1/+1
2015-04-14Merge branch 'jc/update-instead-into-void'Junio C Hamano1-1/+20
2015-04-01push-to-deploy: allow pushing into an unborn branch and updating itJunio C Hamano1-1/+20
2015-02-17ref_transaction_delete(): remove "have_old" parameterMichael Haggerty1-2/+1
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-1/+1
2015-02-11Merge branch 'jc/push-to-checkout'Junio C Hamano1-25/+45
2015-02-11Merge branch 'sb/atomic-push'Junio C Hamano1-35/+130
2015-01-08receive-pack: support push-to-checkout hookJunio C Hamano1-1/+18
2015-01-07receive-pack.c: negotiate atomic push supportRonnie Sahlberg1-0/+11
2015-01-07receive-pack.c: add execute_commands_atomic functionStefan Beller1-1/+46
2015-01-07receive-pack.c: move transaction handling in a central placeStefan Beller1-14/+37
2015-01-07receive-pack.c: move iterating over all commands outside execute_commandsStefan Beller1-6/+13
2015-01-07receive-pack.c: die instead of error in case of possible future bugStefan Beller1-3/+1
2015-01-07receive-pack.c: shorten the execute_commands loop over all commandsStefan Beller1-16/+27
2014-12-22Merge branch 'js/push-to-deploy'Junio C Hamano1-2/+91
2014-12-22Merge branch 'mh/simplify-repack-without-refs'Junio C Hamano1-1/+1
2014-12-05Merge branch 'rs/receive-pack-use-labs'Junio C Hamano1-1/+1
2014-12-01receive-pack: refactor updateInstead codepathJunio C Hamano1-25/+28
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-1/+1
2014-11-30receive-pack: add another option for receive.denyCurrentBranchJohannes Schindelin1-2/+91
2014-11-25sort_string_list(): rename to string_list_sort()Michael Haggerty1-1/+1
2014-11-17use labs() for variables of type long instead of abs()René Scharfe1-1/+1
2014-10-31Merge branch 'jc/push-cert'Junio C Hamano1-2/+2
2014-10-28receive-pack: avoid minor leak in case start_async() failsRené Scharfe1-2/+2
2014-10-24Merge branch 'rs/run-command-env-array'Junio C Hamano1-9/+14
2014-10-21Merge branch 'rs/ref-transaction'Junio C Hamano1-4/+5
2014-10-20Merge branch 'rs/receive-pack-argv-leak-fix'Junio C Hamano1-10/+8
2014-10-19use env_array member of struct child_processRené Scharfe1-9/+14
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-2/+2
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg1-2/+3
2014-10-14Merge branch 'mh/lockfile'Junio C Hamano1-0/+1
2014-10-13receive-pack: plug minor memory leak in unpack()René Scharfe1-10/+8
2014-10-08Merge branch 'jc/push-cert'Junio C Hamano1-40/+353
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-09-26Merge branch 'jc/ignore-sigpipe-while-running-hooks'Junio C Hamano1-0/+6
2014-09-25receive-pack::hmac_sha1(): copy the entire SHA-1 hash outBrian Gernhardt1-2/+2
2014-09-17signed push: allow stale nonce in stateless modeJunio C Hamano1-10/+79
2014-09-17signed push: fortify against replay attacksJunio C Hamano1-8/+124
2014-09-16receive-pack: allow hooks to ignore its standard input streamJunio C Hamano1-0/+6
2014-09-15signed push: remove duplicated protocol infoJunio C Hamano1-0/+26
2014-09-15receive-pack: GPG-validate push certificatesJunio C Hamano1-0/+31
2014-09-15push: the beginning of "git push --signed"Junio C Hamano1-0/+52
2014-09-15receive-pack: factor out capability string generationJunio C Hamano1-8/+14
2014-09-15receive-pack: factor out queueing of commandJunio C Hamano1-21/+29
2014-09-15receive-pack: do not reuse old_sha1[] for other thingsJunio C Hamano1-3/+5
2014-09-15receive-pack: parse feature request a bit earlierJunio C Hamano1-12/+14
2014-09-15receive-pack: do not overallocate command structureJunio C Hamano1-2/+3
2014-09-11Merge branch 'rs/ref-transaction-1'Junio C Hamano1-9/+16
2014-09-03receive-pack.c: use a reference transaction for updating the refsRonnie Sahlberg1-9/+16
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-8/+4
2014-07-28Merge branch 'jk/misc-fixes-maint'Junio C Hamano1-2/+2
2014-07-24receive-pack: don't copy "dir" parameterJeff King1-2/+2
2014-07-22Merge branch 'kb/perf-trace'Junio C Hamano1-1/+1
2014-07-13trace: improve trace performanceKarsten Blees1-1/+1
2014-06-19use xstrdup instead of xmalloc + strcpyJeff King1-4/+1
2014-02-27shallow: automatically clean up shallow tempfilesJeff King1-12/+4
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-64/+249
2014-01-06shallow: remove unused codeRamsay Jones1-1/+0
2013-12-10receive-pack: support pushing to a shallow clone via httpNguyễn Thái Ngọc Duy1-3/+0
2013-12-10receive-pack: allow pushes that update .git/shallowNguyễn Thái Ngọc Duy1-13/+150
2013-12-10receive/send-pack: support pushing from a shallow cloneNguyễn Thái Ngọc Duy1-9/+69
2013-12-10receive-pack: reorder some code in unpack()Nguyễn Thái Ngọc Duy1-40/+30
2013-12-10make the sender advertise shallow commits to the receiverNguyễn Thái Ngọc Duy1-1/+3
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-3/+3
2013-09-20Merge branch 'bk/refs-multi-update'Junio C Hamano1-1/+2
2013-09-11Merge branch 'nd/push-no-thin'Junio C Hamano1-1/+7