You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Vincent Lefevre <vi...@vinc17.org> on 2003/11/02 21:06:41 UTC

Automatic mime-type detection

Is there a way to have automatic mime-type detection when adding
a file (not based on the file name, but on the file contents)?
If there is a way to automatically call an external program when
doing an "svn add", "file -i" can be called (under Unix), which
returns the guessed mime-type (it is sometimes wrong, but the
user could change it in this case, before the commit).

-- 
Vincent Lefèvre <vi...@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org