[darcs-devel] darcs patch: Do autoconf substitution on git.h (and 3 more)

David Roundy droundy at abridgegame.org
Sun Jul 31 04:37:01 PDT 2005


Hi all,

Here are my patches to extend Wim's extension.  I'm only including in this
bundle those of his that my patches depend on, but you also need at least
some of the others, including Juliusz' patch, to make this actually work.

When included with those, one now can just stick a git directory (or a
symlink to one) in the darcs source and configure --enable-git.  I've
verified that darcs changes works with the git repository.

Alas, darcs changes --summary is horribly slow, due to the cost of merging.
Unless we come up with some other trick, we *really* will want to look into
faster commutation tricks (e.g. sorting patches according to what files
they modify, so a commute is cheaper than O(N*M) where N and M are the
number of primitive patches in each of the two patches being commuted.
This is definitely both possible and practical, but there hasn't been a
compelling need to implement the code to do so, which might get a bit
ugly.

I'll be applying this stuff directly to darcs-stable.  My current policy is
that git stuff that can't mess up non-git code goes quickly into
darcs-stable (since git isn't ready for prime time anyways, may as well
provide as nice support as possible).  Also, build changes go there more
quickly than code changes, since build stuff doesn't get much tested in
darcs-unstable anyways.

David.

Sun Jul 31 01:02:59 EDT 2005  Wim Lewis <wiml at hhhh.org>
  * Do autoconf substitution on git.h

Sun Jul 31 01:03:41 EDT 2005  Wim Lewis <wiml at hhhh.org>
  * Autoconf support for linking against libgit.a
  Allow (actually, require) the user to specify the location of the Git
  implementation when including Git support. Attempt to discover whether
  Git was compiled to require OpenSSL's implementation of SHA1.

Sun Jul 31 06:56:56 EDT 2005  David Roundy <droundy at abridgegame.org>
  * remove the now-unneeded git/.

Sun Jul 31 07:27:40 EDT 2005  David Roundy <droundy at abridgegame.org>
  * check for a git/ in current directory (when --enable-git).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 54879 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20050731/005ecd00/attachment.bin


More information about the darcs-devel mailing list