On Thu, Oct 17, 2013 at 1:29 PM, Andy Bradford <amb-fos...@bradfords.org>wrote:

> No editor is  used in this case  (except the command line  editor) so it
> isn't exactly as interactive as using your favorite EDITOR but you don't
> have to supply a filename.
>
> Probably not exactly what you were looking for though.
>

How about:

$ cat fci
#! /usr/bin/bash
echo "" > tmp$$.txt
$EDITOR tmp$$.txt
fossil ci -M tmp$$.txt $*
rm tmp$$.txt
$

This will create a temporary file using the process number of the running
script, then delete it after the commit is done.

Optionally, you can pre-load the file with a message template, either as
the parameter the echo or use cp to copy a template file.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to