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

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

Re: [Bug-vc-dwim] [PATCH] doc: you can use vc-dwim when ChangeLog is not


From: Jim Meyering
Subject: Re: [Bug-vc-dwim] [PATCH] doc: you can use vc-dwim when ChangeLog is not version-controlled
Date: Tue, 01 Sep 2009 19:56:08 +0200

Ralf Wildenhues wrote:
> * Jim Meyering wrote on Tue, Sep 01, 2009 at 09:22:52AM CEST:
>> +        (cd $d && git init && git add ChangeLog && git ci -m. -a)
>
> ci is an alias of yours, not an upstream git command.
> I try to avoid using git aliases too much.

Hi Ralf,

Would you believe I was already making an effort, in spelling out
"git" rather than writing "g" (my alias for it).

I've fixed the documentation.

Thanks!

--------------------------
>From e392fc74126cdc82596e1834cb4a8abbfb184405 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Tue, 1 Sep 2009 19:55:01 +0200
Subject: [PATCH] vc-dwim: correct example code to spell out "commit" rather 
than "ci"

* vc-dwim.pl (main): Don't use private alias, "ci".
Spotted by Ralf Wildenhues.
---
 ChangeLog  |    4 ++++
 vc-dwim.pl |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index acb599a..ddd95db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-01  Jim Meyering  <address@hidden>

+       vc-dwim: correct example code to spell out "commit" rather than "ci"
+       * vc-dwim.pl (main): Don't use private alias, "ci".
+       Spotted by Ralf Wildenhues.
+
        update all copyright year lists to include 2009
        * Coda.pm: Likewise.
        * Makefile.am: Likewise.
diff --git a/vc-dwim.pl b/vc-dwim.pl
index 08078a3..c6668a8 100755
--- a/vc-dwim.pl
+++ b/vc-dwim.pl
@@ -1178,7 +1178,7 @@ use this bash/zsh alias to set it up and to create the 
symlink:
         test -d .git || return 1
         mkdir $d
         touch $d/ChangeLog
-        (cd $d && git init && git add ChangeLog && git ci -m. -a)
+        (cd $d && git init && git add ChangeLog && git commit -m. -a)
         ln --backup -s $d/ChangeLog .
     }

--
1.6.4.2.384.g5fc62




reply via email to

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