<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: git commit / darcs record</title>
	<atom:link href="http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record/feed" rel="self" type="application/rss+xml" />
	<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record</link>
	<description>a.k.a kikidonk — Scabreusement Hype</description>
	<pubDate>Fri, 21 Nov 2008 13:32:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Aman Gupta</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16740</link>
		<dc:creator>Aman Gupta</dc:creator>
		<pubDate>Tue, 08 Apr 2008 21:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16740</guid>
		<description>I just discovered git add --patch, which is a similar and built right into git:

       -p, --patch
              Similar to Interactive mode but the initial command loop is bypassed and the patch subcommand is
              invoked using each of the specified filepatterns before exiting.</description>
		<content:encoded><![CDATA[<p>I just discovered git add &#8211;patch, which is a similar and built right into git:</p>
<p>       -p, &#8211;patch<br />
              Similar to Interactive mode but the initial command loop is bypassed and the patch subcommand is<br />
              invoked using each of the specified filepatterns before exiting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shanti Braford</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16685</link>
		<dc:creator>Shanti Braford</dc:creator>
		<pubDate>Tue, 19 Feb 2008 14:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16685</guid>
		<description>Thanks for this writeup.  I'm just getting started with git, but it seems incredible.</description>
		<content:encoded><![CDATA[<p>Thanks for this writeup.  I&#8217;m just getting started with git, but it seems incredible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Irving-Beer</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16603</link>
		<dc:creator>Adrian Irving-Beer</dc:creator>
		<pubDate>Wed, 14 Nov 2007 19:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16603</guid>
		<description>Re: "It also asks for new files to be added even if this is not exactly how darcs behave" ...

Actually, this is exactly how my darcs behaves. :)  Are you aware of the "--look-for-adds" option?  I turned it on for exactly the reason you state -- with CVS, I was tired of missing new files I forgot to explicitly add.

(In fact, my SCM path has been CVS --&#62; GNU arch --&#62; darcs, and I instated my "all files must be added unless explicitly ignored" policy very early in my "arch" usage.  Switching to darcs just meant I could relax that to "all files will be prompted for adding unless explicitly ignored".  Nicer to use, but with the same result.)

To make this a global default, I just stuck these lines into my ~/.darcs/defaults:

record look-for-adds
whatsnew look-for-adds

Beware, though -- if you ever use the "tailor" utility (http://progetti.arstecnica.it/tailor/) to convert to/from darcs, you should be careful to *disable* this in the tailor'ed darcs tree.  In the case of darcs as a 'tailor' target, it issues 'remove' commands but does *not* delete the files in question from the tree.  Leaving 'look-for-adds' on will silently fail to record deletions, with all the consequences that entails.</description>
		<content:encoded><![CDATA[<p>Re: &#8220;It also asks for new files to be added even if this is not exactly how darcs behave&#8221; &#8230;</p>
<p>Actually, this is exactly how my darcs behaves. <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Are you aware of the &#8220;&#8211;look-for-adds&#8221; option?  I turned it on for exactly the reason you state &#8212; with CVS, I was tired of missing new files I forgot to explicitly add.</p>
<p>(In fact, my SCM path has been CVS &#8211;&gt; GNU arch &#8211;&gt; darcs, and I instated my &#8220;all files must be added unless explicitly ignored&#8221; policy very early in my &#8220;arch&#8221; usage.  Switching to darcs just meant I could relax that to &#8220;all files will be prompted for adding unless explicitly ignored&#8221;.  Nicer to use, but with the same result.)</p>
<p>To make this a global default, I just stuck these lines into my ~/.darcs/defaults:</p>
<p>record look-for-adds<br />
whatsnew look-for-adds</p>
<p>Beware, though &#8212; if you ever use the &#8220;tailor&#8221; utility (http://progetti.arstecnica.it/tailor/) to convert to/from darcs, you should be careful to *disable* this in the tailor&#8217;ed darcs tree.  In the case of darcs as a &#8216;tailor&#8217; target, it issues &#8216;remove&#8217; commands but does *not* delete the files in question from the tree.  Leaving &#8216;look-for-adds&#8217; on will silently fail to record deletions, with all the consequences that entails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphaël Slinckx</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16586</link>
		<dc:creator>Raphaël Slinckx</dc:creator>
		<pubDate>Sun, 04 Nov 2007 15:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16586</guid>
		<description>No colors undortunately. It would require re-parsing the diff output. Or finding a way to request a colored diff from git along with the uncolored one that is parsable</description>
		<content:encoded><![CDATA[<p>No colors undortunately. It would require re-parsing the diff output. Or finding a way to request a colored diff from git along with the uncolored one that is parsable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Lund</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16585</link>
		<dc:creator>Peter Lund</dc:creator>
		<pubDate>Sun, 04 Nov 2007 15:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16585</guid>
		<description>Cool!  Does it do the colours too?  (particularly the red $ sign after trailing spaces)</description>
		<content:encoded><![CDATA[<p>Cool!  Does it do the colours too?  (particularly the red $ sign after trailing spaces)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphaël Slinckx</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16578</link>
		<dc:creator>Raphaël Slinckx</dc:creator>
		<pubDate>Sat, 03 Nov 2007 19:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16578</guid>
		<description>Tester: I never use them, but they could be trivially added ;)</description>
		<content:encoded><![CDATA[<p>Tester: I never use them, but they could be trivially added <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tester</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16577</link>
		<dc:creator>Tester</dc:creator>
		<pubDate>Sat, 03 Nov 2007 19:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16577</guid>
		<description>What about f and s?</description>
		<content:encoded><![CDATA[<p>What about f and s?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphaël Slinckx</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16576</link>
		<dc:creator>Raphaël Slinckx</dc:creator>
		<pubDate>Sat, 03 Nov 2007 18:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16576</guid>
		<description>Y = yes, select this hunk
n = no, don't select this hunk
d = done, answer no to any remaining patches
a = all, answer yes to any remaining patches

Y is default action if you hit enter.</description>
		<content:encoded><![CDATA[<p>Y = yes, select this hunk<br />
n = no, don&#8217;t select this hunk<br />
d = done, answer no to any remaining patches<br />
a = all, answer yes to any remaining patches</p>
<p>Y is default action if you hit enter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jure</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16575</link>
		<dc:creator>Jure</dc:creator>
		<pubDate>Sat, 03 Nov 2007 18:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16575</guid>
		<description>Looks interesting enough. I just switched from svn, but I think I'm going to try it. What I find confusing (not having darcs background) is what does Ynda stand for. Y and n I can guess, but d and a? Reading the patch also doesn't enlighten me :(</description>
		<content:encoded><![CDATA[<p>Looks interesting enough. I just switched from svn, but I think I&#8217;m going to try it. What I find confusing (not having darcs background) is what does Ynda stand for. Y and n I can guess, but d and a? Reading the patch also doesn&#8217;t enlighten me <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16574</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 03 Nov 2007 17:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/2007-11-03/git-commit-darcs-record#comment-16574</guid>
		<description>Nice script! But, someone I know wrote a similar script, that emulates a lot more of the darcs interface on top of git.

http://ftp.frugalware.org/pub/other/pacman-tools/pacman-tools/darcs-git.py
http://ftp.frugalware.org/pub/other/pacman-tools/pacman-tools/darcs-git.txt</description>
		<content:encoded><![CDATA[<p>Nice script! But, someone I know wrote a similar script, that emulates a lot more of the darcs interface on top of git.</p>
<p><a href="http://ftp.frugalware.org/pub/other/pacman-tools/pacman-tools/darcs-git.py" rel="nofollow">http://ftp.frugalware.org/pub/other/pacman-tools/pacman-tools/darcs-git.py</a><br />
<a href="http://ftp.frugalware.org/pub/other/pacman-tools/pacman-tools/darcs-git.txt" rel="nofollow">http://ftp.frugalware.org/pub/other/pacman-tools/pacman-tools/darcs-git.txt</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
