diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-05-03 15:02:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-03 15:02:40 -0700 |
commit | 7d71be242d7fc8bd2eaef90e1848d71609c5c577 (patch) | |
tree | 7d3da3c0fafed46aebf41506d5e1136d2c2c387c /revision.c | |
parent | a2dc04ba159def766ee17db00c60bdbda477955d (diff) | |
parent | cf2ab916afa4231f7e9db31796e7c0f712ff6ad1 (diff) | |
download | git-7d71be242d7fc8bd2eaef90e1848d71609c5c577.tar.gz git-7d71be242d7fc8bd2eaef90e1848d71609c5c577.tar.xz |
Merge branch 'lt/pack-object-memuse' into maint
* lt/pack-object-memuse:
show_object(): push path_name() call further down
process_{tree,blob}: show objects without buffering
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/revision.c b/revision.c index 34ee490ea..d7d345bdd 100644 --- a/revision.c +++ b/revision.c @@ -15,9 +15,9 @@ volatile show_early_output_fn_t show_early_output; -static char *path_name(struct name_path *path, const char *name) +char *path_name(const struct name_path *path, const char *name) { - struct name_path *p; + const struct name_path *p; char *n, *m; int nlen = strlen(name); int len = nlen + 1; |