libgit2/src
Clemens Buchacher 1f783edf17 do not use full path in diff-index
Currently, diff_index passes the full relative path from the
repository root to the callback. In case of an addition, it passes
the tree entry instead of the index entry.

This change fixes the path used for addition, and it passes only
the basename of the path. This mimics the current behavior of
git_tree_diff.
2011-12-30 20:14:05 +01:00
..
ppc Tabify everything 2011-09-19 03:34:49 +03:00
transports remotes: Remove unused variables 2011-12-25 00:25:04 +01:00
unix Create cross-platform setenv 2011-09-19 10:34:52 -07:00
win32 posix_w32: prevent segfaulting on Windows when building a temporary filename 2011-12-14 20:03:11 +01:00
blob.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
blob.h Cleanup legal data 2011-09-19 01:54:32 +03:00
bswap.h Tabify everything 2011-09-19 03:34:49 +03:00
buffer.c Allow git_buf_joinpath to accept self-joins 2011-12-14 14:31:06 -08:00
buffer.h buffer: inline git_buf_cstr 2011-12-14 03:27:53 +01:00
cache.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
cache.h Cleanup legal data 2011-09-19 01:54:32 +03:00
cc-compat.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
commit.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
commit.h Merge pull request #384 from kiryl/warnings 2011-09-18 20:07:59 -07:00
common.h repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
config_file.c config_file: honor error 2011-12-19 16:07:21 +01:00
config.c config: really delete variables 2011-12-16 02:28:39 +01:00
config.h Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
delta-apply.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
delta-apply.h Cleanup legal data 2011-09-19 01:54:32 +03:00
dir.h Fix opendir/readdir and friends on Win32 to use Unicode 2011-09-19 13:14:09 -07:00
errors.c threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
fetch.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
fetch.h fetch: add a generic pack-download function 2011-10-12 21:33:19 +02:00
filebuf.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
filebuf.h filebuf: add GIT_FILEBUF_INIT and protect multiple opens and cleanups 2011-11-22 01:53:56 +01:00
fileops.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
fileops.h Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
global.c threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
global.h threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
hash.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
hash.h Cleanup legal data 2011-09-19 01:54:32 +03:00
hashtable.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
hashtable.h Cleanup legal data 2011-09-19 01:54:32 +03:00
index.c add git_index_read_tree 2011-12-30 20:14:05 +01:00
index.h repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
indexer.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
map.h Tabify everything 2011-09-19 03:34:49 +03:00
mwindow.c threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
mwindow.h threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
netops.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
netops.h net,pkt: add chunked support 2011-10-12 21:33:18 +02:00
object.c Rename all _close methods 2011-11-26 08:48:00 +01:00
odb_loose.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
odb_pack.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
odb.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
odb.h repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
oid.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
pack.c threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
pack.h *: correct and codify various file permissions 2011-10-14 16:07:47 -07:00
path.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
path.h Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
pkt.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
pkt.h remote: Cleanup the remotes code 2011-11-28 08:40:40 +01:00
posix.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
posix.h Implement p_rename 2011-11-07 20:34:27 +01:00
pqueue.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
pqueue.h Tabify everything 2011-09-19 03:34:49 +03:00
protocol.c net: move the reference storage to common code 2011-11-18 21:03:23 +01:00
protocol.h net: move the reference storage to common code 2011-11-18 21:03:23 +01:00
reflog.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
reflog.h *: correct and codify various file permissions 2011-10-14 16:07:47 -07:00
refs.c refs: Fix double free 2011-12-25 00:22:20 +01:00
refs.h refs: move GIT_PACKED_REFS_FILE_MODE to refs.h as GIT_PACKEDREFS_FILE_MODE 2011-11-16 11:39:03 -08:00
refspec.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
refspec.h Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
remote.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
remote.h remote: Cleanup the remotes code 2011-11-28 08:40:40 +01:00
repository.c allow opening index in bare repo 2011-12-30 20:14:05 +01:00
repository.h repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
revwalk.c Rename all _close methods 2011-11-26 08:48:00 +01:00
sha1_lookup.c Tabify everything 2011-09-19 03:34:49 +03:00
sha1_lookup.h Tabify everything 2011-09-19 03:34:49 +03:00
sha1.c Tabify everything 2011-09-19 03:34:49 +03:00
sha1.h Cleanup legal data 2011-09-19 01:54:32 +03:00
signature.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
signature.h Cleanup legal data 2011-09-19 01:54:32 +03:00
status.c Check error on path manipulations. 2011-12-14 14:31:06 -08:00
tag.c Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
tag.h Cleanup legal data 2011-09-19 01:54:32 +03:00
thread-utils.c Tabify everything 2011-09-19 03:34:49 +03:00
thread-utils.h threads: Fix the shared global state with TLS 2011-11-16 14:09:44 +01:00
transport.c remote: Cleanup the remotes code 2011-11-28 08:40:40 +01:00
transport.h remote: Cleanup the remotes code 2011-11-28 08:40:40 +01:00
tree-cache.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
tree-cache.h Add git_tree_cache_get 2011-09-27 14:33:18 +02:00
tree.c do not use full path in diff-index 2011-12-30 20:14:05 +01:00
tree.h move entry_is_tree to tree.h 2011-12-30 20:14:01 +01:00
tsort.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
util.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
util.h util: Remove unused macro 2011-11-26 08:48:01 +01:00
vector.c global: Properly use git__ memory wrappers 2011-10-28 19:02:36 -07:00
vector.h Cleanup legal data 2011-09-19 01:54:32 +03:00