Re: git + Mathematica = corrupt notebooks
- To: mathgroup at smc.vnet.net
 - Subject: [mg81634] Re: git + Mathematica = corrupt notebooks
 - From: neitzke at post.harvard.edu
 - Date: Sun, 30 Sep 2007 03:56:19 -0400 (EDT)
 - References: <fdi6v9$rss$1@smc.vnet.net><fdkr8a$7h6$1@smc.vnet.net>
 
> It appears Mathematica has become confused by the fact that a
> different app swapped the file out from underneath it.  You might have
> luck setting PrivateNotebookOptions->{"SafeFileSave"->"TempFile"} in
> the Option Inspector.
Thanks for this suggestion.  It does change the behavior, but sadly it
doesn't seem to improve the situation:  with this option set, opening
foo.nb in Mathematica, letting git modify foo.nb, and then choosing
"Save" in Mathematica just deletes foo.nb.
-Andy