aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/cat-file.c
AgeCommit message (Expand)AuthorFilesLines
2018-08-20Merge branch 'nd/no-the-index'Junio C Hamano1-1/+1
2018-08-14cat-file: use a single strbuf for all outputJeff King1-11/+17
2018-08-14cat-file: split batch "buf" into two variablesJeff King1-6/+8
2018-08-14cat-file: use oidset check-and-insertJeff King1-2/+1
2018-08-13convert.c: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-08-13cat-file: support "unordered" output for --batch-all-objectsJeff King1-5/+51
2018-08-13cat-file: rename batch_{loose,packed}_object callbacksJeff King1-9/+9
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-0/+1
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-2/+2
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-2/+2
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-3/+3
2018-04-26cache.h: add repository argument to oid_object_info_extendedStefan Beller1-3/+3
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-6/+8
2018-03-14sha1_file: convert read_object_with_reference to object_idbrian m. carlson1-1/+1
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-7/+7
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-2/+2
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-1/+1
2018-02-14object_info: change member name from 'typename' to 'type_name'Brandon Williams1-1/+1
2017-12-08sha1_file: support lazily fetching missing objectsJonathan Tan1-0/+2
2017-09-28Merge branch 'jk/fallthrough'Junio C Hamano1-0/+1
2017-09-28Merge branch 'jk/diff-blob'Junio C Hamano1-2/+2
2017-09-22consistently use "fallthrough" comments in switchesJeff King1-0/+1
2017-09-22cat-file: handle NULL object_context.pathJeff King1-2/+2
2017-08-23pack: move for_each_packed_object()Jonathan Tan1-0/+1
2017-07-17sha1_name: convert GET_SHA1* flags to GET_OID*brian m. carlson1-2/+2
2017-07-17sha1_name: convert get_sha1* to get_oid*brian m. carlson1-3/+3
2017-07-05Merge branch 'jt/unify-object-info'Junio C Hamano1-3/+4
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-21sha1_file: rename LOOKUP_REPLACE_OBJECTJonathan Tan1-2/+3
2017-06-21sha1_file: rename LOOKUP_UNKNOWN_OBJECTJonathan Tan1-1/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-05Merge branch 'js/blame-lib'Junio C Hamano1-0/+1
2017-06-02Merge branch 'jk/diff-blob'Junio C Hamano1-1/+3
2017-05-24blame: move textconv_object with related functionsJeff Smith1-0/+1
2017-05-24get_sha1_with_context: dynamically allocate oc->pathJeff King1-1/+3
2017-05-08cat-file: fix memory leakJohannes Schindelin1-0/+1
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-5/+5
2017-03-31Convert sha1_array_for_each_unique and for_each_abbrev to object_idbrian m. carlson1-2/+2
2017-03-31Make sha1_array_append take a struct object_id *brian m. carlson1-2/+2
2017-02-22Convert object iteration callbacks to struct object_idbrian m. carlson1-4/+4
2016-10-10Merge branch 'jk/pack-objects-optim-mru'Junio C Hamano1-3/+2
2016-09-26sha1_array: let callbacks interrupt iterationJeff King1-1/+2
2016-09-21Merge branch 'js/cat-file-filters'Junio C Hamano1-8/+96
2016-09-19Merge branch 'bc/object-id'Junio C Hamano1-34/+36
2016-09-11cat-file: support --textconv/--filters in batch modeJohannes Schindelin1-5/+44
2016-09-11cat-file --textconv/--filters: allow specifying the path separatelyJohannes Schindelin1-5/+21
2016-09-11cat-file: introduce the --filters optionJohannes Schindelin1-1/+35
2016-09-08cat-file: put spaces around pipes in usage stringAlex Henrie1-1/+1
2016-09-07streaming: make stream_blob_to_fd take struct object_idbrian m. carlson1-3/+3
2016-09-07builtin: convert textconv_object to use struct object_idbrian m. carlson1-1/+1
2016-09-07builtin/cat-file: convert some static functions to struct object_idbrian m. carlson1-25/+25
2016-09-07builtin/cat-file: convert struct expand_data to use struct object_idbrian m. carlson1-10/+12
2016-08-11provide an initializer for "struct object_info"Jeff King1-3/+2
2016-07-28Merge branch 'nd/pack-ofs-4gb-limit'Junio C Hamano1-2/+2
2016-07-13sha1_file.c: use type off_t* for object_info->disk_sizepNguyễn Thái Ngọc Duy1-2/+2
2016-05-31Merge branch 'jk/cat-file-buffered-batch-all'Junio C Hamano1-1/+20
2016-05-18cat-file: default to --buffer when --batch-all-objects is usedJeff King1-0/+4
2016-05-18cat-file: avoid noop calls to sha1_object_info_extendedJeff King1-1/+16
2016-01-15cat-file: read batch stream with strbuf_getline()Junio C Hamano1-1/+1
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-1/+1
2015-10-16usage: do not insist that standard input must come from a fileJunio C Hamano1-1/+1
2015-06-26cat-file: sort and de-dup output of --batch-all-objectsJeff King1-7/+15
2015-06-22cat-file: add --batch-all-objects optionJeff King1-2/+42
2015-06-22cat-file: split batch_one_object into two stagesJeff King1-16/+23
2015-06-22cat-file: stop returning value from batch_one_objectJeff King1-12/+6
2015-06-22cat-file: add --buffer optionJeff King1-7/+19
2015-06-22cat-file: move batch_options definition to top of fileJeff King1-6/+7
2015-06-22cat-file: minor style fix in options listJeff King1-1/+1
2015-06-01Merge branch 'dt/cat-file-follow-symlinks'Junio C Hamano1-6/+45
2015-05-20cat-file: add --follow-symlinks to --batchDavid Turner1-6/+45
2015-05-06cat-file: teach cat-file a '--allow-unknown-type' optionKarthik Nayak1-12/+26
2015-05-06cat-file: make the options mutually exclusiveKarthik Nayak1-8/+5
2015-02-11Merge branch 'ah/usage-strings'Junio C Hamano1-2/+2
2015-01-22Merge branch 'ak/cat-file-clean-up'Junio C Hamano1-2/+0
2015-01-14standardize usage info string formatAlex Henrie1-2/+2
2015-01-13cat-file: use "type" and "size" from outer scopeAlexander Kuleshov1-2/+0
2015-01-09cat-file: remove unused includesAlexander Kuleshov1-4/+0
2014-10-07use skip_prefix() to avoid more magic numbersRené Scharfe1-2/+3
2014-03-25Merge branch 'jk/warn-on-object-refname-ambiguity'Junio C Hamano1-6/+9
2014-03-13cat-file: restore warn_on_object_refname_ambiguity flagJeff King1-0/+3
2014-01-10Merge branch 'jk/oi-delta-base'Junio C Hamano1-0/+6
2014-01-10Merge branch 'cc/replace-object-info'Junio C Hamano1-1/+1
2014-01-07cat-file: fix a minor memory leak in batch_objectsJeff King1-0/+1
2014-01-07cat-file: refactor error handling of batch_objectsJeff King1-6/+5
2013-12-26cat-file: provide %(deltabase) batch formatJeff King1-0/+6
2013-12-12sha1_object_info_extended(): add an "unsigned flags" parameterChristian Couder1-1/+1
2013-12-12cat-file: handle --batch format with missing type/sizeJeff King1-1/+10
2013-12-12cat-file: pass expand_data to print_object_or_dieJeff King1-10/+11
2013-10-23Merge branch 'mg/more-textconv'Junio C Hamano1-10/+8
2013-08-05cat-file: only split on whitespace when %(rest) is usedJeff King1-1/+30
2013-08-02Revert "cat-file: split --batch input lines on whitespace"Junio C Hamano1-19/+1
2013-07-12sha1_object_info_extended: make type calculation optionalJeff King1-3/+4
2013-07-12cat-file: disable object/refname ambiguity check for batch modeJeff King1-0/+9
2013-07-12cat-file: split --batch input lines on whitespaceJeff King1-1/+19
2013-07-12cat-file: add %(objectsize:disk) format atomJeff King1-0/+6
2013-07-12cat-file: add --batch-check=<format>Jeff King1-15/+92
2013-07-11cat-file: refactor --batch option parsingJeff King1-18/+38
2013-07-11cat-file: teach --batch to stream blob objectsJeff King1-13/+28
2013-05-10cat-file: do not die on --textconv without textconv filtersMichael J Gruber1-10/+8
2013-04-17cat-file: print tags raw for "cat-file -p"Jeff King1-71/+0
2013-03-29cat-file: Fix an gcc -Wuninitialized warningRamsay Jones1-1/+1
2013-03-21drop some obsolete "x = x" compiler warning hacksJeff King1-1/+1
2012-09-07Merge branch 'nd/i18n-parseopt-help'Junio C Hamano1-10/+10
2012-08-27Merge branch 'jk/maint-null-in-trees'Junio C Hamano1-1/+1
2012-08-20i18n: cat-file: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-10/+10
2012-07-29diff: do not use null sha1 as a sentinel valueJeff King1-1/+1
2012-07-22Merge branch 'jc/sha1-name-more'Junio C Hamano1-1/+1
2012-07-09sha1_name.c: teach lookup context to get_sha1_with_context()Junio C Hamano1-1/+1
2012-03-07cat-file: use streaming API to print blobsNguyễn Thái Ngọc Duy1-0/+25
2012-02-07drop odd return value semantics from userdiff_configJeff King1-7/+1
2011-06-20plug a few coverity-spotted leaksJim Meyering1-0/+2
2010-09-29blame,cat-file --textconv: Don't assume mode is ``S_IFREF | 0664''Kirill Smelkov1-1/+1
2010-06-27Merge branch 'cp/textconv-cat-file'Junio C Hamano1-4/+34
2010-06-18textconv: support for cat_fileClément Poulain1-4/+34
2010-05-31Rewrite dynamic structure initializations to runtime assignmentGary V. Vaughan1-1/+3
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+258