aboutsummaryrefslogtreecommitdiffstats
path: root/blame.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-26blame.h: remove unnecessary includesElijah Newren1-0/+2
2023-07-21blame: allow --contents to work with bare repoHan Young1-1/+3
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-05-02Merge branch 'jk/blame-fake-commit-label'Junio C Hamano1-2/+6
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+2
2023-04-24blame: use different author name for fake commit generated by --contentsJacob Keller1-2/+6
2023-04-11treewide: be explicit about dependence on convert.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-0/+2
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-6/+9
2023-04-04Merge branch 'jk/blame-contents-with-arbitrary-commit'Junio C Hamano1-14/+26
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-6/+9
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-4/+7
2023-03-28cocci: apply the "commit.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-2/+2
2023-03-24blame: allow --contents to work with non-HEAD commitJacob Keller1-14/+26
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-08-03Merge branch 'rs/mergesort'Junio C Hamano1-21/+9
2022-07-17blame: use DEFINE_LIST_SORTRené Scharfe1-21/+9
2022-05-20Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano1-3/+3
2022-05-02tree-wide: apply equals-null.cocciJunio C Hamano1-3/+3
2022-02-25Merge branch 'ab/diff-free-more'Junio C Hamano1-3/+0
2022-02-16diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec)Ævar Arnfjörð Bjarmason1-3/+0
2022-01-12git-rev-list: add --exclude-first-parent-only flagJerry Zhang1-1/+1
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-1/+1
2021-03-13use CALLOC_ARRAYRené Scharfe1-9/+8
2020-11-21Merge branch 'en/strmap'Junio C Hamano1-1/+1
2020-11-02hashmap: provide deallocation function namesElijah Newren1-1/+1
2020-11-01blame: simplify 'setup_blame_bloom_data' interfacePhilippe Blain1-3/+2
2020-11-01blame: simplify 'setup_scoreboard' interfacePhilippe Blain1-6/+5
2020-10-12blame: handle deref_tag() returning NULLRené Scharfe1-3/+3
2020-09-29Merge branch 'tb/bloom-improvements'Junio C Hamano1-3/+5
2020-09-18Merge branch 'ea/blame-use-oideq'Junio C Hamano1-2/+2
2020-09-17bloom: split 'get_bloom_filter()' in twoTaylor Blau1-1/+1
2020-09-09commit-graph: introduce 'get_bloom_filter_settings()'Taylor Blau1-2/+4
2020-09-08blame.c: replace instance of !oidcmp for oideqEdmundo Carmona Antoranz1-2/+2
2020-08-13blame: only coalesce lines that are adjacent in resultJeff King1-0/+1
2020-06-17commit: move members graph_pos, generation to a slabAbhishek Kumar1-1/+1
2020-04-23blame: drop unused parameter from maybe_changed_pathJeff King1-3/+1
2020-04-16blame: use changed-path Bloom filtersDerrick Stolee1-9/+130
2019-10-15Merge branch 'ew/hashmap'Junio C Hamano1-11/+14
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong1-6/+4
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong1-2/+0
2019-10-07hashmap: introduce hashmap_free_entriesEric Wong1-1/+1
2019-10-07hashmap: use *_entry APIs for iterationEric Wong1-4/+6
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong1-3/+8
2019-10-07hashmap_remove takes "const struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_get takes "const struct hashmap_entry *"Eric Wong1-3/+3
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-08-19blame: remove needless comparison with GIT_SHA1_HEXSZbrian m. carlson1-1/+1
2019-07-19Merge branch 'nd/tree-walk-with-repo'Junio C Hamano1-2/+2
2019-07-19Merge branch 'br/blame-ignore'Junio C Hamano1-56/+959
2019-06-28blame: drop some unused function parametersJeff King1-4/+3
2019-06-27tree-walk.c: remove the_repo from get_tree_entry()Nguyễn Thái Ngọc Duy1-2/+2
2019-06-20blame: use the fingerprint heuristic to match ignored linesBarret Rhoden1-5/+55
2019-06-20blame: add a fingerprint heuristic to match ignored linesMichael Platings1-0/+642
2019-05-16blame: optionally track line fingerprints during fill_blame_origin()Barret Rhoden1-30/+60
2019-05-16blame: add config options for the output of ignored or unblamable linesBarret Rhoden1-1/+13
2019-05-16blame: add the ability to ignore commits and their changesBarret Rhoden1-9/+167
2019-05-16blame: use a helper function in blame_chunk()Barret Rhoden1-16/+28
2019-05-09Merge branch 'en/merge-directory-renames'Junio C Hamano1-1/+1
2019-04-25Merge branch 'dk/blame-keep-origin-blob'Junio C Hamano1-1/+2
2019-04-08Use 'unsigned short' for mode, like diff_filespec doesElijah Newren1-1/+1
2019-04-03blame.c: don't drop origin blobs as eagerlyDavid Kastrup1-1/+2
2019-03-07Merge branch 'wh/author-committer-ident-config'Junio C Hamano1-1/+2
2019-02-04config: allow giving separate author and committer identsWilliam Hubbs1-1/+2
2019-01-14read-cache.c: kill read_index()Nguyễn Thái Ngọc Duy1-2/+2
2018-11-12blame.c: remove implicit dependency the_repositoryNguyễn Thái Ngọc Duy1-17/+22
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-30/+33
2018-09-21diff.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-9/+11
2018-09-21diff.c: remove the_index dependency in textconv() functionsNguyễn Thái Ngọc Duy1-3/+4
2018-09-21blame.c: rename "repo" argument to "r"Nguyễn Thái Ngọc Duy1-18/+18
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-2/+2
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-08-27Merge branch 'ab/unconditional-free-and-null'Junio C Hamano1-3/+1
2018-08-17refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)Ævar Arnfjörð Bjarmason1-3/+1
2018-08-13blame.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-21/+31
2018-08-02Merge branch 'jm/cache-entry-from-mem-pool'Junio C Hamano1-3/+2
2018-07-03block alloc: add lifecycle APIs for cache_entry structsJameson Miller1-3/+2
2018-06-29tag: add repository argument to deref_tagStefan Beller1-3/+3
2018-06-29commit: add repository argument to set_commit_bufferStefan Beller1-1/+1
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-1/+1
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-1/+2
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-3/+6
2018-06-25Merge branch 'sb/object-store-alloc'Junio C Hamano1-1/+2
2018-06-25Merge branch 'nd/commit-util-to-slab'Junio C Hamano1-11/+31
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+1
2018-05-23Merge branch 'sb/oid-object-info'Junio C Hamano1-2/+2
2018-05-23Merge branch 'ds/lazy-load-trees'Junio C Hamano1-9/+9
2018-05-21blame: use commit-slab for blame suspects instead of commit->utilNguyễn Thái Ngọc Duy1-11/+31
2018-05-18path.c: migrate global git_path_* to take a repository argumentStefan Beller1-3/+5
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-16alloc: allow arbitrary repositories for alloc functionsStefan Beller1-0/+1
2018-05-09alloc: add repository argument to alloc_commit_nodeStefan Beller1-1/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-2/+2
2018-04-11treewide: replace maybe_tree with accessor methodsDerrick Stolee1-9/+9
2018-04-11treewide: rename tree to maybe_treeDerrick Stolee1-9/+9
2018-04-11Merge branch 'bw/c-plus-plus' into ds/lazy-load-treesJunio C Hamano1-16/+17
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-4/+4
2018-03-14tree-walk: convert tree entry functions to object_idbrian m. carlson1-4/+2
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-2/+2
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-16/+17
2018-02-14blame: rename 'this' variablesBrandon Williams1-16/+17
2018-01-30sha1_file: convert pretend_sha1_file to object_idPatryk Obara1-1/+1
2017-11-09Merge branch 'bw/diff-opt-impl-to-bitfields'Junio C Hamano1-8/+8
2017-11-01diff: make struct diff_flags members lowercaseBrandon Williams1-8/+8
2017-11-01diff: remove DIFF_OPT_SET macroBrandon Williams1-4/+4
2017-11-01diff: remove DIFF_OPT_TST macroBrandon Williams1-4/+4
2017-10-16refs: convert resolve_ref_unsafe to struct object_idbrian m. carlson1-2/+2
2017-07-31Merge branch 'js/blame-lib'Junio C Hamano1-2/+4
2017-07-24blame: fix memory corruption scrambling revision name in error messageSZEDER Gábor1-2/+4
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-2/+1
2017-06-24Merge branch 'bw/ls-files-sans-the-index'Junio C Hamano1-1/+1
2017-06-19Merge branch 'bw/object-id'Junio C Hamano1-10/+10
2017-06-16coccinelle: make use of the "expression" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-2/+1
2017-06-13convert: convert convert_to_git to take an indexBrandon Williams1-1/+1
2017-06-05Merge branch 'js/blame-lib'Junio C Hamano1-0/+1863
2017-05-25blame: move entry prepend to libgitJeff Smith1-0/+16
2017-05-25blame: move scoreboard setup to libgitJeff Smith1-4/+275
2017-05-25blame: move scoreboard-related methods to libgitJeff Smith1-0/+1313
2017-05-25blame: move fake-commit-related methods to libgitJeff Smith1-1/+202
2017-05-25blame: move origin-related methods to libgitJeff Smith1-0/+62
2006-11-08git-pickaxe: retire pickaxeJunio C Hamano1-1089/+0
2006-11-07Merge branch 'jc/pickaxe'Junio C Hamano1-0/+3
2006-11-05git-blame: add internal statistics to count read blobs.Junio C Hamano1-0/+3
2006-10-30Merge branch 'maint'Junio C Hamano1-0/+5
2006-10-30Surround "#define DEBUG 0" with "#ifndef DEBUG..#endif"Junio C Hamano1-0/+5
2006-10-12blame: Document and add help text for -f, -n, and -pJunio C Hamano1-3/+7
2006-10-06git-blame --porcelainJunio C Hamano1-22/+127
2006-10-05blame.c: move code to output metainfo into a separate function.Junio C Hamano1-31/+45
2006-10-05git-blame: --show-number (and -n)Junio C Hamano1-4/+38
2006-10-05git-blame: --show-name (and -f)Junio C Hamano1-5/+9
2006-10-05blame.c: whitespace and formatting clean-up.Junio C Hamano1-100/+100
2006-09-02Replace uses of strdup with xstrdup.Shawn Pearce1-1/+1
2006-08-23Convert memset(hash,0,20) to hashclr(hash).Junio C Hamano1-1/+1
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-2/+2
2006-08-15remove unnecessary initializationsDavid Rientjes1-3/+3
2006-08-14blame.c return cleanupDavid Rientjes1-4/+1
2006-08-03Fixup command names in some usage strings.Ramsay Allan Jones1-1/+1
2006-07-28Call setup_git_directory() earlyLinus Torvalds1-1/+1
2006-07-10Avoid C99 comments, use old-style C comments instead.Pavel Roskin1-3/+3
2006-07-10Fix more typos, primarily in the codePavel Roskin1-10/+10
2006-06-18Cast pointers to `void *' when used in a format.Florian Forster1-2/+2
2006-06-17Move "void *util" from "struct object" into "struct commit"Linus Torvalds1-24/+24
2006-06-16blame: Add --time to produce raw timestampsFredrik Kuivinen1-4/+20
2006-05-29Make "tree_entry" have a SHA1 instead of a union of object pointersLinus Torvalds1-2/+2
2006-05-03blame: Fix path pruningFredrik Kuivinen1-5/+5
2006-04-10blame and friends: adjust to multiple pathspec change.Junio C Hamano1-6/+14
2006-04-07Merge branch 'jc/blame' into nextJunio C Hamano1-5/+37
2006-04-07blame -S <ancestry-file>Junio C Hamano1-5/+37
2006-04-05Merge branch 'master' into nextJunio C Hamano1-0/+1
2006-04-05blame.c: fix completely broken ancestry traversal.Junio C Hamano1-0/+1
2006-04-05blame: use built-in xdiffJunio C Hamano1-93/+67
2006-04-04Use blob_, commit_, tag_, and tree_type throughout.Peter Eriksen1-1/+1
2006-03-23Merge branch 'jc/name' into nextJunio C Hamano1-0/+1
2006-03-23sha1_name: warning ambiguous refs.Junio C Hamano1-0/+1
2006-03-21fix field width/precision warnings in blame.cLuck, Tony1-1/+1
2006-03-17blame: Fix git-blame <directory>Fredrik Kuivinen1-0/+6
2006-03-17blame: Nicer outputFredrik Kuivinen1-5/+30
2006-03-10blame: Rename detection (take 2)Fredrik Kuivinen1-40/+199
2006-03-06blame: unbreak "diff -U 0".Junio C Hamano1-2/+2
2006-03-05blame: avoid "diff -u0".Junio C Hamano1-1/+1
2006-03-05blame and annotate: show localtime with timezone.Junio C Hamano1-4/+13
2006-03-05blame: avoid -lm by not using log().Junio C Hamano1-2/+4
2006-03-05git-blame: Make the output human readableFredrik Kuivinen1-18/+144
2006-03-05Const tightening.Junio C Hamano1-0/+2
2006-03-02git-blame, take 2Fredrik Kuivinen1-365/+485
2006-03-02Merge part of 'lt/rev-list' into 'fk/blame'Junio C Hamano1-1/+0
2006-02-21Add git-blame, a tool for assigning blame.Fredrik Kuivinen1-0/+443