diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-07-28 11:45:46 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-08-02 21:42:03 +0200 |
commit | b5b474dd0de88c0decd1bf6f4a4b202c8081bf43 (patch) | |
tree | 099cd324fdb774c89e352ae1a9394406c83b1d44 /src/pack.h | |
parent | a070f152bdeaeef61e7b0624231fe1d946b0043e (diff) | |
download | libgit2-b5b474dd0de88c0decd1bf6f4a4b202c8081bf43.tar.gz |
Modify the given offset in git_packfile_unpack
The callers immediately throw away the offset, so we don't need any
logical changes in any of them. This will be useful for the indexer,
as it does need to know where the compressed data ends.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/pack.h')
-rw-r--r-- | src/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.h b/src/pack.h index bc1215252..a7112a6aa 100644 --- a/src/pack.h +++ b/src/pack.h @@ -97,7 +97,7 @@ int git_packfile_unpack_header( git_mwindow **w_curs, off_t *curpos); -int git_packfile_unpack(git_rawobj *obj, struct git_pack_file *p, off_t obj_offset); +int git_packfile_unpack(git_rawobj *obj, struct git_pack_file *p, off_t *obj_offset); off_t get_delta_base(struct git_pack_file *p, git_mwindow **w_curs, off_t *curpos, git_otype type, |