Hi,

I've push a small change related to temporary file handling when using
"gdiff" (and "stash gdiff") subcommand in the case where "--from" and
"--to" are specified.

  http://fossil-scm.org/index.html/info/856ca01b1309db47

Before this change, the temporary filename for both versions were 15
random alphanum characters. So when executing "fossil gdiff" it's hard
to know what file we are actually looking at from the external diff
tool.

  Example: 4FJ5J3JDGHC9032   vs    DJG54548GJFK45J

With my changes, the filename is used to prefix of the random sequence
of characters.
  
  Example: file.c-v1.4FJ5J3JDGHC9032   vs    file.c-v2.DJG54548GJFK45J

My change doesn't affect when diffing against local checkout version, in
that case the filename was already part of the temporary filename used
for the repository version.

Any objection about merging this into trunk ?

Regards,

-- 
Martin G.
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to