summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorClemens Buchacher <drizzd@aon.at>2011-12-29 15:03:38 +0100
committerClemens Buchacher <drizzd@aon.at>2011-12-30 20:14:05 +0100
commit1f783edf1746cb0254b6e28299dbe106bf8bbe69 (patch)
treef5808428fa08815f45af4cabe7ce86e177c11c8d /src/commit.c
parentee3f96d4e097026f045022887acaf541ff73687d (diff)
downloadlibgit2-1f783edf1746cb0254b6e28299dbe106bf8bbe69.tar.gz
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions