diff options
| author | Clemens Buchacher <drizzd@aon.at> | 2011-12-29 15:03:38 +0100 |
|---|---|---|
| committer | Clemens Buchacher <drizzd@aon.at> | 2011-12-30 20:14:05 +0100 |
| commit | 1f783edf1746cb0254b6e28299dbe106bf8bbe69 (patch) | |
| tree | f5808428fa08815f45af4cabe7ce86e177c11c8d /src/commit.c | |
| parent | ee3f96d4e097026f045022887acaf541ff73687d (diff) | |
| download | libgit2-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
