Re: start of git2 (based on libgit2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I agree that for a summer student project, aiming at basic stuff makes
more sense than trying to chew a large bite that cannot be managed within
the timeframe and not achieving anything

If things will be working out, I will at least not disappear after the summer. I'm quite new here, but I'd like to help out in coordinating the student(s) and to continue with it after summer (if the student(s) do not stick to the git development). I'm still missing quite some knowledge about git, but I hope that will come with time.

"A..B" requires you to walk the ancestry chain. Limiting history with
pathspec while simplifying merges needs to use the tree-diff machinery;
and filtering commits by looking at the message with "--grep" needs to
call into the grep machinery.  Depending on how much libgit2 has already
covered the basic blocks, even the above list might be too much, I am
afraid.

Yes, it would be important to understand how much already is covered by libgit2. If someone could shed some light on this (see also my message on the libgit2@xxxxxxxxxxxxx mailing list).

A good news is

[..] still re-reading this paragraph to find out what the actual 'good' part of this news is ;)...[..]

that among the larger and more important basic building
blocks in C git, there is only one part that was designed from day one to
disregard the reusability and instead aimed for speed and simplicity, and
that is the history and object walking. The way the in-core object pool is
managed and especially the way per-object flags are designed to be used
clearly show that the revision walker machinery can take it granted that
the calling programs are run-once-and-clean-via-exit.

That's what I meant with my previous message. I was not aiming to implement all exotic features, but I think that it would be a good design if git and git2 share a lot together and only differ in how they actually use the git/libgit backend. As part of the process, the git code can be adjusted as well to "libify" it (as it was called in another thread).

Vincent
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]