On Tue, 3 Oct 2017 13:14:59 -0700
Brandon Williams wrote:
> +void packet_write(const int fd_out, const char *buf, size_t size)
No need for "const" in "const int fd_out", I think. Same comment for the
header file.
> +{
> + if (packet_write_gently(fd_out, buf, size))
> +
On Tue, 3 Oct 2017 13:14:58 -0700
Brandon Williams wrote:
> +static int process_dummy_ref(void)
> +{
> + struct object_id oid;
> + const char *name;
> +
> + if (parse_oid_hex(packet_buffer, , ))
> + return 0;
> + if (*name != ' ')
> +
On Mon, Oct 2, 2017 at 11:31 PM, Jeff King wrote:
> Right, I kind of wonder if this has fallen into an uncanny value where
> we have this almost-hashmap infrastructure, but the end result is not
> significantly easier to use than a plain-old hashmap.
>
> I.e., it looks like you
On Tue, Oct 3, 2017 at 2:45 AM, Christian Couder
wrote:
> Yeah, some people need the faster solution, but my opinion is that
> many other people would prefer the single shot protocol.
> If all you want to do is a simple resumable clone using bundles for
> example, then
On Tue, Oct 3, 2017 at 7:39 AM, Jeff Hostetler wrote:
>
> As I see it there are the following major parts to partial clone:
> 1. How to let git-clone (and later git-fetch) specify the desired
>subset of objects that it wants? (A ref-relative request.)
> 2. How to let
.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Some replies to v1 [1] [2] seem to indicate that simpler non-duplicated
code should be preferred over optimizing away the storage of the 4-byte
hash code, and I have no objection to that, so I have updated this code
to be a thin w
On Wed, 27 Sep 2017 18:46:30 +0200
Christian Couder wrote:
> I am ok to split the patch series, but I am not sure that 01/40 to
> 09/40 is the right range for the first patch series.
> I would say that 01/40 to 07/40 is better as it can be seen as a
> separate
On Tue, 26 Sep 2017 17:26:33 +0200
Michael Haggerty wrote:
> Maybe naming has been discussed at length before, and I am jumping into
> a long-settled topic. And admittedly this is bikeshedding.
>
> But I find these names obscure, even as a developer. And terms like this
>
ranteed to be in to_pack.
[1] For the purposes of pack_objects, a blob is a Git special file if it
appears in a to-be-packed tree with a filename beginning with
".git".
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/pack-objects.c | 56 +
Teach fsck to not treat missing promisor objects indirectly pointed to
by refs as an error when extensions.partialclone is set.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/fsck.c | 11 +++
t/t0410-partial-clone.sh | 23 +++
2
ow any object type to be "want"-ed.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Makefile | 1 +
builtin/fetch-pack.c | 8
builtin/index-pack.c | 16 +---
fetch-object.c | 23 +++
fetch-object.h | 6 +++
ased on
the contents of the local repo alone, whereas for status=delayed, it is
the filter process that tells us what needs to be checked in the end.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
fetch-object.c | 27 +++
fetch-object.h | 5 ++
Teach fetch-pack and upload-pack to support excluding large blobs
through a blob-max-bytes parameter.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Documentation/technical/pack-protocol.txt | 9
Documentation/technical/protocol-capabilities.txt | 7 ++
b
and
did not mention parsing the unparsed commit, so I prefer to preserve the
existing behavior.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
fetch-pack.c | 4
1 file changed, 4 insertions(+)
diff --git a/fetch-pack.c b/fetch-pack.c
index 19b8e9322..8e6f54547 100644
--- a
Teach clone to support excluding large blobs through a blob-max-bytes
parameter.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/clone.c | 23 +--
t/t5601-clone.sh | 49 +
2 files changed, 70 insertions
exclusion occurs.)
If bitmaps are to be used, we would not know if a blob corresponded to a
file whose name starts with ".git". For this reason, when invoked with
--blob-max-bytes, pack-objects will not use bitmaps.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
)
- builtin/prune-packed - check if object to be pruned is packed (if
not, don't prune it)
- revision - used to exclude packed objects if requested by user
- diff - just for optimization
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/cat-file.c | 2 ++
builtin
Teach gc to stop traversal at promisor objects, and to leave promisor
packfiles alone. This has the effect of only repacking non-promisor
packfiles, and preserves the distinction between promisor packfiles and
non-promisor packfiles.
Signed-off-by: Jonathan Tan <jonathanta...@google.
Teach fetch to support excluding large blobs through a blob-max-bytes
parameter. This is only allowed for the remote configured in
extensions.partialclone.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/fetch.c | 22 --
connected.c
Teach fsck to not treat missing promisor objects provided on the CLI as
an error when extensions.partialclone is set.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/fsck.c | 2 ++
t/t0410-partial-clone.sh | 13 +
2 files changed, 15 insertions(+)
Teach clone to configure blobmaxbytes in any repos that it generates
when the --blob-max-bytes parameter is set. Also teach fetch to use this
parameter.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/clone.c | 1 +
builtin/fetch.c | 4
re
In a subsequent commit, index-pack will be taught to write ".promisor"
files which are similar to the ".keep" files it knows how to write.
Refactor the writing of ".keep" files, so that the implementation of
writing ".promisor" files becomes easier.
in process_blob() and
process_tree() do not need to be changed because those happen only when
there is a conflict between the expected type and the existing object.
If the object doesn't exist, an object will be synthesized, which is
fine.)
Signed-off-by: Jonathan Tan <jonathanta...@google.
Teach fsck to not treat refs referring to missing promisor objects as an
error when extensions.partialclone is set.
For the purposes of warning about no default refs, such refs are still
treated as legitimate refs.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/
Separate out the calculation of remotes to be fetched from and the
actual fetching. This will allow us to include an additional step before
the actual fetching in a subsequent commit.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/fetch.c | 14 --
1 file c
commits, fsck will be taught about other cases.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Documentation/technical/repository-version.txt | 12
builtin/fsck.c | 2 +-
cache.h| 5 +-
environ
l packfiles
downloaded in this way are annotated with ".promisor".
Fetching with `git fetch`
-
The fetch-pack/upload-pack protocol has also been extended to support omission
of blobs above a certain size. The client only allows this when fetching from
the promiso
On Thu, 28 Sep 2017 10:33:39 -0400
Jeff Hostetler wrote:
> Maybe. What I have here now is the result of adding these arguments to
> rev-list and pack-objects (in the current patch series), and also to
> fetch-pack, fetch, clone, upload-pack, index-pack, and the transport
On Thu, 28 Sep 2017 16:05:57 -0400
Jeff King wrote:
> When I saw that you were implementing "oidset" in terms of "oidmap", I
> was all ready to be crabby about this extra memory. But then I saw that
> the implementation tries hard not to waste any memory. :)
>
> All of which is
On Fri, 15 Sep 2017 13:43:43 -0700
Jonathan Tan <jonathanta...@google.com> wrote:
> For those interested in partial clones and/or missing objects in repos,
> I've updated my original partialclone patches to not require an explicit
> list of promises. Fetch/clone still only pe
On Wed, 27 Sep 2017 17:41:37 -0700
Brandon Williams <bmw...@google.com> wrote:
> On 09/27, Jonathan Tan wrote:
> > This is similar to using the hashmap in hashmap.c, but with an
> > easier-to-use API. In particular, custom entry comparisons no longer
> > need to
On Thu, 28 Sep 2017 12:13:00 +0900
Junio C Hamano <gits...@pobox.com> wrote:
> Jonathan Tan <jonathanta...@google.com> writes:
>
> > This is similar to using the hashmap in hashmap.c, but with an
> > easier-to-use API. In particular, custom entry comparisons no
On Wed, 27 Sep 2017 13:09:42 -0400
Jeff Hostetler <g...@jeffhostetler.com> wrote:
> On 9/26/2017 6:39 PM, Jonathan Tan wrote:
> > On Fri, 22 Sep 2017 20:30:11 +
> > Jeff Hostetler <g...@jeffhostetler.com> wrote:
> >
> >> Makefile
This is similar to using the hashmap in hashmap.c, but with an
easier-to-use API. In particular, custom entry comparisons no longer
need to be written, and lookups can be done without constructing a
temporary entry structure.
oidset has been updated to use oidmap.
Signed-off-by: Jonathan Tan
On Wed, 27 Sep 2017 15:09:43 -0400
Jeff Hostetler wrote:
> By adding it to the set of provisionally omitted objects, we
> have the option to capture a little extra information with it
> and refer to that the next time we see the object in the traversal.
> For example, in
On Wed, 27 Sep 2017 13:04:42 -0400
Jeff Hostetler wrote:
> The sparse filter is looking at pathnames and using the same rules
> as sparse-checkout to decide which to *include* in the result. This
> is essentially backwards from the other filters which are looking for
>
On Fri, 22 Sep 2017 20:30:13 +
Jeff Hostetler wrote:
> + if (filter_options.relax) {
Add some documentation about how this differs from ignore_missing_links
in struct rev_info.
On Fri, 22 Sep 2017 20:30:11 +
Jeff Hostetler wrote:
> Makefile| 1 +
> object-filter.c | 269
>
> object-filter.h | 173
> 3 files changed, 443 insertions(+)
>
On Fri, 22 Sep 2017 20:26:22 +
Jeff Hostetler wrote:
> From: Jeff Hostetler
>
> Create traverse_commit_list_filtered() and add filtering
You mention _filtered() here, but this patch contains _worker().
> list-objects.h | 30
On Fri, 22 Sep 2017 20:26:21 +
Jeff Hostetler wrote:
> From: Jeff Hostetler
>
> Create subclass of oidset where each entry has a
> field to store the length of the object's content
> and an optional pathname.
>
> This will be used in a
on other lines.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Changes in v5:
- print warning when encountering capabilities on other lines instead
of ignoring them (also updated commit message)
- explicitly disallow refs of name "capabilities^{}" (except when it is
On Tue, 26 Sep 2017 10:25:16 -0400
Jeff Hostetler wrote:
> >> Perhaps you could augment the OID lookup to remember where the object
> >> was found (essentially a .promisor bit set). Then you wouldn't need
> >> to touch them all.
> >
> > Sorry - I don't understand this.
On Fri, 22 Sep 2017 20:26:19 +
Jeff Hostetler wrote:
> This draft contains filters to:
> () omit all blobs
> () omit blobs larger than some size
> () omit blobs using a sparse-checkout specification
>
> In addition to specifying the filter criteria, the rev-list
On Fri, 22 Sep 2017 17:32:00 -0400
Jeff Hostetler wrote:
> I guess I'm afraid that the first call to is_promised() is going
> cause a very long pause as it loads up a very large hash of objects.
Yes, the first call will cause a long pause. (I think fsck and gc can
On Fri, 22 Sep 2017 17:19:50 -0400
Jeff Hostetler wrote:
> > In your specific example, how would rev-list know, on the client, to
> > include (or exclude) a large blob in its output if it does not have it,
> > and thus does not know its size?
> >
>
> The client doesn't
On Fri, 22 Sep 2017 17:02:11 -0400
Jeff Hostetler wrote:
> > I was struggling a bit with the terminology, true.
> >
> > Right now I'm thinking of:
> > - promisor remote (as you defined)
> > - promisor packfile (as you defined)
> > - promisor object is an object
On Fri, 22 Sep 2017 14:01:04 -0700
Brandon Williams wrote:
> > +static void process_capabilities(int len)
> > +{
> > + int nul_location = strlen(packet_buffer);
>
> It may make more sense to not rely on accessing a global buffer here
> directly and instead pass in the buff
it easier to teach get_remote_heads() to interpret other
lines in the ref advertisement, which will be done in a subsequent
patch.
As part of this change, this patch interprets capabilities only on the
first line in the ref advertisement, ignoring all others.
Signed-off-by: Jonathan Tan <jonatha
it easier to teach get_remote_heads() to interpret other
lines in the ref advertisement, which will be done in a subsequent
patch.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
I sent the wrong version of this patch :-(
This should be the correct one. A bit less clean bec
it easier to teach get_remote_heads() to interpret other
lines in the ref advertisement, which will be done in a subsequent
patch.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
In some in-office discussion, I was informed that my original patch
relaxed the ordering of ".keep&q
On Thu, 21 Sep 2017 14:00:40 -0400
Jeff Hostetler wrote:
> (part 3)
>
> Additional overall comments on:
> https://github.com/jonathantanmy/git/commits/partialclone2
>
> {} WRT the code in is_promised() [1]
>
> [1]
>
On Thu, 21 Sep 2017 13:59:43 -0400
Jeff Hostetler wrote:
> (part 2)
>
> Additional overall comments on:
> https://github.com/jonathantanmy/git/commits/partialclone2
>
> {} I think it would help to split the blob-max-bytes filtering and the
> promisor/promised
On Thu, 21 Sep 2017 13:57:30 -0400
Jeff Hostetler wrote:
> There's a lot in this patch series. I'm still studying it, but here
> are some notes and questions. I'll start with direct responses to
> the RFC here and follow up in a second email with specific questions
>
it easier to teach get_remote_heads() to interpret other
lines in the ref advertisement, which will be done in a subsequent
patch.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
It seems that some people are concerned about looseness in interpreting
the ref advertisement, s
On Wed, 20 Sep 2017 17:24:43 -0700
Jonathan Tan <jonathanta...@google.com> wrote:
> On Wed, 13 Sep 2017 14:54:43 -0700
> Brandon Williams <bmw...@google.com> wrote:
>
> > A normal request to git-daemon is structured as
> > "command path/to/repo\0host=..
On Wed, 13 Sep 2017 14:54:43 -0700
Brandon Williams wrote:
> A normal request to git-daemon is structured as
> "command path/to/repo\0host=..\0" and due to a bug in an old version of
> git-daemon 73bb33a94 (daemon: Strictly parse the "extra arg" part of the
> command,
ast-export is also fixed in this patch. The
existing line "C file6 file7" copies the wrong version of file6, but it
has coincidentally worked because file7 was subsequently overridden.
Reported-by: Juraj Oršulić <juraj.orsu...@fer.hr>
Signed-off-by: Jonathan Tan <jonathant
dify its definitions to not leave these semicolons.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
OK, here is the same patch with an updated commit message.
---
git-compat-util.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git-compat-util.h b/git-com
refore, modify its definitions to cause a compile-time error if
invoked without the trailing semicolon.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Sure, here is the patch.
---
git-compat-util.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git-com
Thanks - this does look like a good thing to have. Sorry for the late
comments.
The following comments are assuming that we're going to standardize on
UNLEAK(var); (with the semicolon).
On Fri, 8 Sep 2017 02:38:41 -0400
Jeff King wrote:
> +#ifdef SUPPRESS_ANNOTATED_LEAKS
>
I wonder if it's better to get a change like this (PATCH v6 09/40 and
any of the previous patches that this depends on) in and then build on
it rather than to review the whole patch set at a time. This would
reduce ripple effects (of needing to change later patches in a patch set
multiple times
On Fri, 15 Sep 2017 13:24:50 +0200
Christian Couder wrote:
> > There are still some nuances. For example, if an external ODB provides
> > both a tree and a blob that the tree references, do we fetch the tree in
> > order to call "have" on all its blobs, or do we trust
For those interested in partial clones and/or missing objects in repos,
I've updated my original partialclone patches to not require an explicit
list of promises. Fetch/clone still only permits exclusion of blobs, but
the infrastructure is there for a local repo to support missing trees
and
On Thu, 14 Sep 2017 10:39:35 +0200
Christian Couder wrote:
> From the following email:
>
> https://public-inbox.org/git/20170804145113.5ceaf...@twelve2.svl.corp.google.com/
>
> it looks like his work is fundamentally about changing the rules of
> connectivity
This empty file was inadvertently introduced in commit 4f39cd8 ("pack:
move pack name-related functions", 2017-08-23). Remove this file.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
outgoing/packfile.h | 0
1 file changed, 0 insertions(+), 0 deletions(-)
de
This new binary was introduced in commit 3921a0b ("perf: add test for
writing the index", 2017-08-21), but a .gitignore entry was not added
for it. Add that entry.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
t/helper/.gitignore | 1 +
1 file changed, 1 insertion(+)
On Fri, 25 Aug 2017 08:14:08 +0200
Christian Couder wrote:
> As Git is used by more and more by people having different needs, I
> think it is not realistic to expect that we can optimize its object
> storage for all these different needs. So a better strategy is to
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Thanks. I've reverted the NAME change and used some of your suggestion
for the --max-pack-size documentation.
---
Documentation/git-pack-objects.txt | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/Docume
The documentation for pack-objects describes that it creates "a packed
archive of objects", which is confusing because it may create multiple
packs if --max-pack-size is set. Update the documentation to clarify
this.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
It to
On Sat, 19 Aug 2017 23:40:33 -0700
Junio C Hamano wrote:
> Junio C Hamano writes:
>
> > I have to say that this was a painful topic to integrate.
> >
> > As you may know, the mk/use-size-t-in-zlib topic is being retracted
> > and getting rerolled as a
On Fri, 11 Aug 2017 15:41:28 -0400
Ben Peart wrote:
> Nice to see the pack file functions being refactored out. I looked at
> the end result and it looked good to me.
Thanks.
> Do you have the energy to do a similar refactoring for the remaining
> public functions
On Fri, 18 Aug 2017 10:18:37 -0400
Ben Peart wrote:
> > But if there was a good way to refer to the "anti-projection" in a
> > virtualized system (that is, the "real" thing or "object" behind the
> > "virtual" thing or "image"), then maybe the "virtualized" language is
> >
alloc_packed_git() in packfile.c is duplicated from sha1_file.c. In a
subsequent commit, alloc_packed_git() will be removed from sha1_file.c.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/count-objects.c | 1 +
builtin/fsck.c | 1 +
builtin/pack-objects.c
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
packfile.c | 9 +
packfile.h | 1 +
sha1_file.c | 9 -
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/cache.h b/cache.h
index a27018210..0313b0b8d 100644
--- a/cache.h
+++ b/c
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
connected.c | 1 +
packfile.c | 53 +
packfile.h | 1 +
sha1_file.c | 61 -
5 files chang
This function needs to be global as it is used by sha1_file.c and will
be used by packfile.c.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
packfile.c | 53 +
packfile.h | 2 ++
sha1_file.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
packfile.c | 11 ++-
packfile.h | 2 ++
sha1_file.c | 9 -
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/cache.h b/cache.h
index 3625509f9..c4d8bee52 100644
--- a/cache.h
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
packfile.c | 25 +
packfile.h | 2 ++
sha1_file.c | 25 -
4 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/cache.h b/cache.h
index 63765d481..75c
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/gc.c | 1 +
bulk-checkin.c | 1 +
cache.h| 15
connected.c| 2 +-
fetch-pack.c | 1 +
http-backend.c | 1 +
packfile.c | 217 +
pack
The function unuse_one_window() needs to be temporarily made global. Its
scope will be restored to static in a subsequent commit.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
git-compat-util.h | 2 --
packfile.c
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 8 ---
packfile.c | 76 -
packfile.h | 9 ++--
sha1_file.c | 73 --
4 files chang
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 2 --
packfile.c | 24
packfile.h | 2 ++
sha1_file.c | 24
4 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/cache.h b/cache.h
index aa2b4d390..a04
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 3 ---
http-push.c | 1 +
http-walker.c | 1 +
packfile.c| 13 +
packfile.h| 3 +++
sha1_file.c | 13 -
6 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/cac
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/prune-packed.c | 1 +
cache.h| 2 --
diff.c | 1 +
packfile.c | 6 ++
packfile.h | 2 ++
revision.c | 1 +
sha1_file.c| 6 --
7 files c
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
packfile.c | 26 ++
packfile.h | 1 +
sha1_file.c | 26 --
4 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/cache.h b/cache.h
index 87f
-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 7 -
packfile.c | 661 ++
packfile.h | 10 +
sha1_file.c | 677 ++--
4 files changed, 685 insertions(+), 670 del
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 2 --
packfile.c | 8
packfile.h | 2 ++
sha1_file.c | 8
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/cache.h b/cache.h
index 286891df4..dcbe37a3f 100644
--- a/cache.h
+++ b/c
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 16
packfile.c | 33 +
packfile.h | 16
sha1_file.c | 33 -
4 files changed, 49 insertions(+), 49 deletions(-)
diff
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
packfile.c | 40
packfile.h | 1 +
sha1_file.c | 39 ---
4 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/cac
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 14 --
packfile.c | 31 +++
packfile.h | 16 +++-
sha1_file.c | 31 ---
4 files changed, 46 insertions(+), 46 deletions(-)
diff
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/cat-file.c | 1 +
cache.h| 7 +--
packfile.c | 40
packfile.h | 11 +++
reachable.c| 1 +
sha1_file.c
sha1_file.c declares some static variables that store packfile-related
state. Move them to packfile.c.
They are temporarily made global, but subsequent commits will restore
their scope back to static.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
packfile.c
The function close_pack_fd() needs to be temporarily made global. Its
scope will be restored to static in a subsequent commit.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
builtin/am.c | 1 +
builtin/clone.c| 1 +
builtin/fetch.c| 1 +
builtin/m
The function open_packed_git() needs to be temporarily made global. Its
scope will be restored to static in a subsequent commit.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
cache.h | 1 -
packfile.c
a corresponding header packfile.h.
In this commit, the pack name-related functions are moved. Subsequent
commits will move the other functions.
Signed-off-by: Jonathan Tan <jonathanta...@google.com>
---
Makefile | 1 +
builtin/index-pack.c | 1 +
builtin/pack-redundant.c | 1 +
c
stripes
The merge base commit can be accessed online [1], if you need it.
[1] https://github.com/jonathantanmy/git/commits/packmigrate
Jonathan Tan (23):
pack: move pack name-related functions
pack: move static state variables
pack: move pack_report()
pack: move open_pack_index(
On Thu, 17 Aug 2017 23:34:33 +0200
Lars Schneider wrote:
>
> > On 17 Aug 2017, at 23:01, Junio C Hamano wrote:
> >
> > Christian Couder writes:
> >
> >> ... but I think we should then emphasize more in our test
> >>
Thanks for your comments. I'll reply to both your e-mails in this one
e-mail.
> This illustrates another place we need to resolve the
> naming/vocabulary. We should at least be consistent to make it easier
> to discuss/explain. We obviously went with "virtual" when building
> GVFS but I'm OK
On Fri, 11 Aug 2017 14:34:27 -0700
Junio C Hamano <gits...@pobox.com> wrote:
> Ben Peart <peart...@gmail.com> writes:
>
> > On 8/9/2017 1:16 PM, Jonathan Tan wrote:
> >
> >> Ah, I forgot to mention this in the cover letter. I thought that one
> >>
On Wed, 16 Aug 2017 13:32:23 -0700
Junio C Hamano <gits...@pobox.com> wrote:
> Jonathan Tan <jonathanta...@google.com> writes:
>
> > Also, let me know if there's a better way to send out these patches for
> > review. Some of the code here has been reviewed b
501 - 600 of 1061 matches
Mail list logo