index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
builtin
/
diff.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-04-18
builtin: stop using `the_index`
Patrick Steinhardt
1
-3
/
+3
2023-12-26
treewide: remove unnecessary includes in source files
Elijah Newren
1
-2
/
+0
2023-09-29
diff --stat: set the width defaults in a helper function
Dragan Simic
1
-3
/
+1
2023-09-18
diff --stat: add config option to limit filename width
Dragan Simic
1
-0
/
+1
2023-08-21
diff: drop useless "status" parameter from diff_result_code()
Jeff King
1
-1
/
+1
2023-08-21
diff: drop useless return values in git-diff helpers
Jeff King
1
-34
/
+28
2023-08-21
diff: drop useless return from run_diff_{files,index} functions
Jeff King
1
-2
/
+4
2023-08-21
diff: die when failing to read index in git-diff builtin
Jeff King
1
-6
/
+3
2023-08-21
diff: show usage for unknown builtin_diff_files() options
Jeff King
1
-2
/
+4
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-2
/
+1
2023-06-21
read-cache*.h: move declarations for read-cache.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-06-21
preload-index.h: move declarations for preload-index.c from elsewhere
Elijah Newren
1
-0
/
+1
2023-05-09
Merge branch 'en/header-split-cache-h-part-2'
Junio C Hamano
1
-0
/
+1
2023-04-24
commit.h: reduce unnecessary includes
Elijah Newren
1
-0
/
+1
2023-04-06
Merge branch 'en/header-split-cleanup'
Junio C Hamano
1
-0
/
+2
2023-04-06
Merge branch 'ab/remove-implicit-use-of-the-repository'
Junio C Hamano
1
-1
/
+2
2023-04-04
Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...
Junio C Hamano
1
-1
/
+2
2023-03-28
mark "argv" as unused when we check argc
Jeff King
1
-3
/
+3
2023-03-28
cocci: apply the "commit.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2023-03-21
setup.h: move declarations for setup.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2022-12-14
Merge branch 'ab/various-leak-fixes'
Junio C Hamano
1
-1
/
+1
2022-11-21
built-ins: use free() not UNLEAK() if trivial, rm dead code
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2022-11-21
cocci: apply "pending" index-compatibility to some "builtin/*.c"
Ævar Arnfjörð Bjarmason
1
-11
/
+14
2022-10-28
Merge branch 'ab/doc-synopsis-and-cmd-usage'
Junio C Hamano
1
-1
/
+2
2022-10-13
built-ins: consistently add "\n" between "usage" and options
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2022-10-01
diff: support ^! for merges
René Scharfe
1
-5
/
+18
2022-06-07
Merge branch 'ab/plug-leak-in-revisions'
Junio C Hamano
1
-1
/
+1
2022-05-20
Merge branch 'ep/maint-equals-null-cocci'
Junio C Hamano
1
-1
/
+1
2022-05-02
Merge branch 'ep/maint-equals-null-cocci' for maint-2.35
Junio C Hamano
1
-1
/
+1
2022-05-02
tree-wide: apply equals-null.cocci
Junio C Hamano
1
-1
/
+1
2022-04-13
revisions API: call diff_free(&revs->pruning) in revisions_release()
Ævar Arnfjörð Bjarmason
1
-1
/
+0
2022-04-13
revisions API users: use release_revisions() with UNLEAK()
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2022-02-02
builtin/diff.c: fix "git-diff" usage string typo
Shaoxuan Yuan
1
-3
/
+3
2021-12-06
diff: enable and test the sparse index
Lessley Dennington
1
-0
/
+5
2021-07-28
Merge branch 'dl/diff-merge-base'
Junio C Hamano
1
-2
/
+2
2021-07-12
git-diff: fix missing --merge-base docs
Denton Liu
1
-2
/
+2
2021-04-27
hash: provide per-algorithm null OIDs
brian m. carlson
1
-1
/
+1
2021-02-25
Merge branch 'jc/diffcore-rotate'
Junio C Hamano
1
-0
/
+1
2021-02-16
diff: --{rotate,skip}-to=<path>
Junio C Hamano
1
-0
/
+1
2021-02-12
Merge branch 'tb/precompose-prefix-too'
Junio C Hamano
1
-1
/
+1
2021-02-05
Merge branch 'so/log-diff-merge'
Junio C Hamano
1
-4
/
+5
2021-02-03
MacOS: precompose_argv_prefix()
Torsten Bögershausen
1
-1
/
+1
2020-12-21
diff-merges: new function diff_merges_set_dense_combined_if_unset()
Sergey Organov
1
-4
/
+5
2020-11-02
Merge branch 'dl/diff-merge-base'
Junio C Hamano
1
-16
/
+33
2020-09-29
diff: get rid of redundant 'dense' argument
Sergey Organov
1
-2
/
+1
2020-09-21
builtin/diff-tree: learn --merge-base
Denton Liu
1
-12
/
+27
2020-09-20
builtin/diff-index: learn --merge-base
Denton Liu
1
-0
/
+2
2020-09-20
diff-lib: accept option flags in run_diff_index()
Denton Liu
1
-4
/
+4
2020-07-09
Merge branch 'ct/diff-with-merge-base-clarification' into master
Junio C Hamano
1
-1
/
+1
2020-07-08
diff: check for merge bases before assigning sym->base
Jeff King
1
-1
/
+1
2020-06-29
Merge branch 'dl/diff-usage-comment-update'
Junio C Hamano
1
-3
/
+12
2020-06-25
Merge branch 'ct/diff-with-merge-base-clarification'
Junio C Hamano
1
-14
/
+118
2020-06-23
builtin/diff: fix botched update of usage comment
Denton Liu
1
-4
/
+1
2020-06-18
builtin/diff: update usage comment
Denton Liu
1
-3
/
+15
2020-06-12
Documentation: usage for diff combined commits
Chris Torek
1
-1
/
+7
2020-06-12
git diff: improve range handling
Chris Torek
1
-13
/
+111
2020-03-30
oid_array: rename source file from sha1-array
Jeff King
1
-1
/
+1
2019-04-25
Merge branch 'nd/diff-parseopt-4'
Junio C Hamano
1
-19
/
+3
2019-03-24
diff --no-index: use parse_options() instead of diff_opt_parse()
Nguyễn Thái Ngọc Duy
1
-18
/
+3
2019-03-07
Merge branch 'jk/diff-no-index-initialize'
Junio C Hamano
1
-9
/
+11
2019-02-24
diff: reuse diff setup for --no-index case
Jeff King
1
-9
/
+11
2019-02-06
Merge branch 'sl/const'
Junio C Hamano
1
-1
/
+1
2019-02-04
various: tighten constness of some local variables
Shahzad Lone
1
-1
/
+1
2019-01-24
cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2019-01-14
read-cache.c: replace update_index_if_able with repo_&
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-10-19
Merge branch 'nd/the-index'
Junio C Hamano
1
-2
/
+2
2018-09-21
revision.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-09-21
diff.c: remove implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-08-29
convert "oidcmp() == 0" to oideq()
Jeff King
1
-1
/
+1
2018-06-29
tag: add repository argument to deref_tag
Stefan Beller
1
-1
/
+1
2018-06-29
tree: add repository argument to lookup_tree
Stefan Beller
1
-1
/
+2
2018-06-29
object: add repository argument to parse_object
Stefan Beller
1
-1
/
+1
2018-06-25
Merge branch 'nd/diff-apply-ita'
Junio C Hamano
1
-0
/
+7
2018-05-29
diff: turn --ita-invisible-in-index on by default
Nguyễn Thái Ngọc Duy
1
-0
/
+7
2018-04-11
treewide: replace maybe_tree with accessor methods
Derrick Stolee
1
-1
/
+1
2018-04-11
treewide: rename tree to maybe_tree
Derrick Stolee
1
-1
/
+1
2017-11-13
Switch empty tree and blob lookups to use hash abstraction
brian m. carlson
1
-1
/
+1
2017-11-09
Merge branch 'bw/diff-opt-impl-to-bitfields'
Junio C Hamano
1
-4
/
+4
2017-11-06
Merge branch 'ma/lockfile-fixes'
Junio C Hamano
1
-4
/
+3
2017-11-01
diff: make struct diff_flags members lowercase
Brandon Williams
1
-4
/
+4
2017-11-01
diff: remove DIFF_OPT_SET macro
Brandon Williams
1
-3
/
+3
2017-11-01
diff: remove DIFF_OPT_TST macro
Brandon Williams
1
-1
/
+1
2017-10-07
Merge branch 'ma/builtin-unleak'
Junio C Hamano
1
-0
/
+3
2017-10-06
treewide: prefer lockfiles on the stack
Martin Ågren
1
-4
/
+3
2017-10-02
builtin/: add UNLEAKs
Martin Ågren
1
-0
/
+3
2017-08-03
submodule: remove gitmodules_config
Brandon Williams
1
-2
/
+0
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-19
Merge branch 'bw/object-id'
Junio C Hamano
1
-4
/
+4
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-06-05
diff-tree: convert diff_tree_sha1 to struct object_id
Brandon Williams
1
-1
/
+1
2017-06-02
Merge branch 'jk/diff-blob'
Junio C Hamano
1
-31
/
+29
2017-06-02
combine-diff: convert diff_tree_combined to struct object_id
Brandon Williams
1
-1
/
+1
2017-06-02
diff: convert fill_filespec to struct object_id
Brandon Williams
1
-2
/
+2
2017-05-24
diff: use blob path for blob/file diffs
Jeff King
1
-1
/
+2
2017-05-24
diff: use pending "path" if it is available
Jeff King
1
-1
/
+6
2017-05-24
diff: use the word "path" instead of "name" for blobs
Jeff King
1
-7
/
+7
2017-05-24
diff: pass whole pending entry in blobinfo
Jeff King
1
-23
/
+15
2017-05-08
object: convert parse_object* to take struct object_id
brian m. carlson
1
-1
/
+1
2017-05-08
Convert lookup_tree to struct object_id
brian m. carlson
1
-1
/
+1
2017-05-02
Clean up outstanding object_id transforms.
brian m. carlson
1
-1
/
+1
2017-03-31
Rename sha1_array to oid_array
brian m. carlson
1
-3
/
+3
2017-03-31
Make sha1_array_append take a struct object_id *
brian m. carlson
1
-1
/
+1
2017-03-26
builtin/diff: convert to struct object_id
brian m. carlson
1
-17
/
+17
2017-01-30
use SWAP macro
René Scharfe
1
-6
/
+3
2016-09-21
Merge branch 'jk/setup-sequence-update'
Junio C Hamano
1
-13
/
+14
2016-09-13
diff: always try to set up the repository
Jeff King
1
-2
/
+2
2016-09-13
diff: skip implicit no-index check when given --no-index
Jeff King
1
-12
/
+13
2016-06-06
Merge branch 'ar/diff-args-osx-precompose' into maint
Junio C Hamano
1
-0
/
+1
2016-05-23
Merge branch 'ar/diff-args-osx-precompose'
Junio C Hamano
1
-0
/
+1
2016-05-13
diff: run arguments through precompose_argv
Alexander Rinass
1
-0
/
+1
2016-02-25
diff: activate diff.renames by default
Matthieu Moy
1
-0
/
+1
2016-02-03
Merge branch 'nd/diff-with-path-params'
Junio C Hamano
1
-1
/
+1
2016-01-21
diff-no-index: do not take a redundant prefix argument
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2015-11-20
Remove get_object_hash.
brian m. carlson
1
-6
/
+6
2015-11-20
Add several uses of get_object_hash.
brian m. carlson
1
-6
/
+6
2014-10-01
lockfile.h: extract new header file for the functions in lockfile.c
Michael Haggerty
1
-0
/
+1
2013-12-27
Merge branch 'tg/diff-no-index-refactor'
Junio C Hamano
1
-5
/
+53
2013-12-16
diff: avoid some nesting
Thomas Gummerer
1
-18
/
+17
2013-12-12
diff: don't read index when --no-index is given
Thomas Gummerer
1
-2
/
+5
2013-12-12
diff: move no-index detection to builtin/diff.c
Thomas Gummerer
1
-3
/
+49
2013-12-06
Merge branch 'nd/magic-pathspec'
Junio C Hamano
1
-10
/
+7
2013-11-20
diff: restrict pathspec limitations to diff b/f case only
Nguyễn Thái Ngọc Duy
1
-10
/
+7
2013-10-31
diff: trivial style fix
Felipe Contreras
1
-1
/
+1
2013-07-15
pathspec: support :(literal) syntax for noglob pathspec
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2013-07-15
convert read_cache_preload() to take struct pathspec
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2013-07-15
guard against new pathspec magic in pathspec matching code
Nguyễn Thái Ngọc Duy
1
-0
/
+2
2013-05-28
cmd_diff(): make it obvious which cases are exclusive of each other
Michael Haggerty
1
-5
/
+4
2013-05-28
cmd_diff(): rename local variable "list" -> "entry"
Michael Haggerty
1
-4
/
+4
2013-05-28
cmd_diff(): use an object_array for holding trees
Michael Haggerty
1
-19
/
+18
2013-05-28
builtin_diff_tree(): make it obvious that function wants two entries
Michael Haggerty
1
-9
/
+10
2012-11-20
Merge branch 'kb/preload-index-more'
Junio C Hamano
1
-4
/
+8
2012-11-02
update-index/diff-index: use core.preloadindex to improve performance
Karsten Blees
1
-4
/
+8
2012-10-29
Move setup_diff_pager to libgit.a
Nguyễn Thái Ngọc Duy
1
-16
/
+0
2012-09-11
Merge branch 'tr/void-diff-setup-done' into maint-1.7.11
Junio C Hamano
1
-2
/
+1
2012-09-10
Merge branch 'jk/maint-null-in-trees' into maint-1.7.11
Junio C Hamano
1
-2
/
+6
2012-08-27
Merge branch 'jk/maint-null-in-trees'
Junio C Hamano
1
-2
/
+6
2012-08-22
Merge branch 'tr/void-diff-setup-done'
Junio C Hamano
1
-2
/
+1
2012-08-03
diff_setup_done(): return void
Thomas Rast
1
-2
/
+1
2012-07-29
diff: do not use null sha1 as a sentinel value
Jeff King
1
-2
/
+6
2012-06-15
fix pager.diff with diff --no-index
Jeff King
1
-7
/
+17
2012-03-23
drop casts from users EMPTY_TREE_SHA1_BIN
Jeff King
1
-1
/
+1
2012-03-01
diff --stat: add config option to limit graph width
Zbigniew Jędrzejewski-Szmek
1
-1
/
+2
2012-03-01
diff --stat: use the full terminal width
Zbigniew Jędrzejewski-Szmek
1
-0
/
+3
2011-12-17
use struct sha1_array in diff_tree_combined()
René Scharfe
1
-6
/
+6
2011-11-06
cast variable in call to free() in builtin/diff.c and submodule.c
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2011-08-19
want_color: automatically fallback to color.ui
Jeff King
1
-3
/
+0
2011-06-20
plug a few coverity-spotted leaks
Jim Meyering
1
-0
/
+1
2011-04-28
Merge branch 'jc/rename-degrade-cc-to-c'
Junio C Hamano
1
-3
/
+1
2011-04-01
Merge branch 'ab/i18n-st'
Junio C Hamano
1
-9
/
+9
2011-03-26
Merge branch 'jc/index-update-if-able'
Junio C Hamano
1
-6
/
+1
2011-03-22
builtin/diff.c: remove duplicated call to diff_result_code()
Junio C Hamano
1
-3
/
+1
2011-03-21
diff/status: refactor opportunistic index update
Junio C Hamano
1
-6
/
+1
2011-03-09
i18n: git-diff basic messages
Ævar Arnfjörð Bjarmason
1
-9
/
+9
2011-02-27
Merge branch 'nd/struct-pathspec'
Junio C Hamano
1
-10
/
+6
2011-02-07
diff: support --cached on unborn branches
Nguyễn Thái Ngọc Duy
1
-2
/
+5
2011-02-03
struct rev_info: convert prune_data to struct pathspec
Nguyễn Thái Ngọc Duy
1
-8
/
+4
2011-02-03
Convert struct diff_options to use struct pathspec
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2010-11-05
diff,difftool: Don't use the {0,2} notation in usage strings
Štěpán Němec
1
-1
/
+1
2010-08-09
Submodules: Use "ignore" settings from .gitmodules too for diff and status
Jens Lehmann
1
-0
/
+2
2010-07-16
Merge branch 'jc/diff-merge-base-multi'
Junio C Hamano
1
-13
/
+0
2010-07-15
Merge branch 'jc/diff-merge-base-multi'
Junio C Hamano
1
-8
/
+23
2010-02-22
Move 'builtin-*' into a 'builtin/' subdirectory
Linus Torvalds
1
-0
/
+425