summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-10-17 14:10:23 -0700
committerRussell Belfer <rb@github.com>2012-10-17 14:10:23 -0700
commit52a61bb8047f431bf363bd9327d0f34884437c83 (patch)
tree82601e2def20ba23fe76c20c069698885b50fb05 /src/diff.h
parente48bb71bec20d6edbce4fc5c77b716ae0701e33a (diff)
downloadlibgit2-52a61bb8047f431bf363bd9327d0f34884437c83.tar.gz
Fix minor bugs
Fixed no-submodule speedup of new checkout code. Fixed missing final update to progress (which may go away, I realize). Fixed unused structure in header and incorrect comment.
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/diff.h b/src/diff.h
index 15745b2f3..c6a26aee7 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -28,17 +28,12 @@ enum {
GIT_DIFFCAPS_USE_DEV = (1 << 4), /* use st_dev? */
};
-typedef struct {
- git_refcount rc;
- git_diff_delta delta;
-} git_diff_delta_refcounted;
-
struct git_diff_list {
git_refcount rc;
git_repository *repo;
git_diff_options opts;
git_vector pathspec;
- git_vector deltas; /* vector of git_diff_delta_refcounted */
+ git_vector deltas; /* vector of git_diff_delta */
git_pool pool;
git_iterator_type_t old_src;
git_iterator_type_t new_src;