bug-vc-dwim
[Top][All Lists]
Advanced

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

[Bug-vc-dwim] [PATCH] doc: tweak sample find|sed pipeline for cleaner .v


From: Jim Meyering
Subject: [Bug-vc-dwim] [PATCH] doc: tweak sample find|sed pipeline for cleaner .vc-chlogrc
Date: Mon, 18 Apr 2011 18:53:23 +0200

I noticed that the recommended command for creating
a .vc-chlogrc file (essential in a project like gcc with its 44
ChangeLog files) would include "./" in each "--changelog ./ChangeLog"
line.  The new command removes the "./", and is thus now consistent
with the command listed in README.

From aecd9927cb10adb9feeae0ecf6b1062039780111 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 18 Apr 2011 18:48:46 +0200
Subject: [PATCH] doc: tweak sample find|sed pipeline for cleaner .vc-chlogrc

* doc/vc-dwim.texi (Using vc-chlog): Tweak the example showing
what how to generate multiple --changelog lines so as to omit
the leading "./" on each file name.
---
 doc/vc-dwim.texi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/vc-dwim.texi b/doc/vc-dwim.texi
index 79d0786..db91b1d 100644
--- a/doc/vc-dwim.texi
+++ b/doc/vc-dwim.texi
@@ -378,7 +378,7 @@ up the directory tree.  One possibility is to invoke 
@command{vc-chlog}
 always from the project root and put the output of

 @example
-find . -name ChangeLog | sed 's,^,--changelog ,'
+find . -name ChangeLog | sed 's,^\./,--changelog ,'
 @end example

 @noindent
--
1.7.5.rc2.295.g19c42



reply via email to

[Prev in Thread] Current Thread [Next in Thread]