On Tue, Jan 31, 2012 at 11:41 AM, Leo Razoumov <slonik...@gmail.com> wrote:

> Hi All,
> I am a new Fossil SCM user and it is my first posting to this mailing
> list. Please, forgive me if what I am asking has been discussed and
> answered here before.
>
> When I do
>     sh$ fossil diff --from ver1 --to ver2
> I get the entire contextual diff of the changes between the said commits.
>
> How could I get only the _names_ of the changed  files _without_
> contextual differences?
> Something like "git diff --name-status" or "git diff --name-only".
>
> I know I can see the list of the names of changed files via "fossil ui" but
> I prefer to list the files using fossil command line interface, for I
> can grep the output further.
>

fossil could do with a little more power on the command line. Passing
remaining parameters to diff would be useful. Here is a crude work around
for you:

$ fossil set diff-command 'diff $DIFFPARAMS'
$ DIFFPARAMS='-q' fossil diff -r 7ad3e





> --Leo--
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
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