[darcs-users] Darcs backend for Gitit
Gwern Branwen
gwern0 at gmail.com
Sun Jan 4 00:57:30 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Sat, Jan 3, 2009 at 2:49 PM, Miklos Vajna wrote:
> On Sat, Jan 03, 2009 at 02:27:18PM -0500, Gwern Branwen wrote:
>> _ -> error $ "git merge-file returned an
>> error.\n" ++ err
>>
>> I've tried to read up on Git, but I don't understand this. Is it just
>> a clone of the Unix command merge, as
>> http://www.kernel.org/pub/software/scm/git/docs/git-merge-file.html
>> suggests?
>
> Yes.
OK, that's good. Means if I write a function for the command, then
it's not tied to any backend at all.
>> The last two issues involve git cat-file
>> http://book.git-scm.com/7_browsing_git_objects.html (I am unsure what
>> the Darcs analogue is) and figuring out how to parse the changelog
>> XML, but those aren't major issues.
>
> darcs show contents?
That doesn't handle directories quite the same way, but it should work
since I think gitCatFile is only called on files.
- --
gwern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAklgCXQACgkQvpDo5Pfl1oLRrgCghqd+ufqR+TgGHqUQE0YwdNO/
KV4An2dNLS+BVW4SNnzuUHyO58slla5D
=c0FZ
-----END PGP SIGNATURE-----
More information about the darcs-users
mailing list