From: Joey Hess Date: Wed, 30 Jan 2008 00:44:26 +0000 (-0500) Subject: commit only the changed file X-Git-Tag: 2.30~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=381ac0f667f428bc571e89beda6660a3c3a650ab;p=ikiwiki.git commit only the changed file --- diff --git a/IkiWiki/Rcs/bazaar.pm b/IkiWiki/Rcs/bazaar.pm index 8ca4ec07a..528767099 100644 --- a/IkiWiki/Rcs/bazaar.pm +++ b/IkiWiki/Rcs/bazaar.pm @@ -71,8 +71,8 @@ sub rcs_commit ($$$;$$) { #{{{ $message = "no message given"; } - my @cmdline = ("bzr", "commit", - "-m", $message, "--author", $user, $config{srcdir}); + my @cmdline = ("bzr", "commit", "-m", $message, "--author", $user, + $config{srcdir}."/".$file); if (system(@cmdline) != 0) { warn "'@cmdline' failed: $!"; }