Re: [Orgmode] Re: *.bak files in trunk?
On Tue, Jun 29, 2010 at 6:27 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Jun 29, 2010, at 2:45 AM, Bernt Hansen wrote: Daniel Mahler dmah...@gmail.com writes: Is this normal? mahler:~/ELISP/org-mode-git$ git status # On branch master nothing to commit (working directory clean) mahler:~/ELISP/org-mode-git$ find . -name *.bak ./lisp/ChangeLog.bak ./lisp/babel/langs/ob-C.el.bak ... ./lisp/org-capture.el.bak.bak.bak.bak ./lisp/org-macs.elc.bak.bak.bak.bak ./lisp/org-publish.elc.bak.bak.bak.bak Hi Daniel, I don't think those files are in the repository but they are in your local working directory. There is an entry '*.bak' in the .gitignore file in the repository so 'git status' will not show these files by default (since they are ignored). You can see untracked files with $ git ls-files -o $ git ls-files '*.bak' returns nothing for me so there are no files ending in '.bak' in the repository as far as I can tell. The bigger problem seems to be that something is creating these files. Bu I have no idea what, noting in Org-mode I would think, must be some utility or stuff in Daniel's setup. That is the weird thing. The only thing I really do in the org directory is git pull and make. Also not tool I use makes *.bak directories, emacs creates *~. That, and the fact that git status/diff did not report them, made me thing they were from the repository. (I do not normally use git) thanks D - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: *.bak files in trunk?
Daniel Mahler dmah...@gmail.com writes: On Tue, Jun 29, 2010 at 6:27 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Jun 29, 2010, at 2:45 AM, Bernt Hansen wrote: Daniel Mahler dmah...@gmail.com writes: Is this normal? mahler:~/ELISP/org-mode-git$ git status # On branch master nothing to commit (working directory clean) mahler:~/ELISP/org-mode-git$ find . -name *.bak ./lisp/ChangeLog.bak ./lisp/babel/langs/ob-C.el.bak ... ./lisp/org-capture.el.bak.bak.bak.bak ./lisp/org-macs.elc.bak.bak.bak.bak ./lisp/org-publish.elc.bak.bak.bak.bak You can see untracked files with $ git ls-files -o $ git ls-files '*.bak' returns nothing for me so there are no files ending in '.bak' in the repository as far as I can tell. The bigger problem seems to be that something is creating these files. Bu I have no idea what, noting in Org-mode I would think, must be some utility or stuff in Daniel's setup. That is the weird thing. The only thing I really do in the org directory is git pull and make. Also not tool I use makes *.bak directories, emacs creates *~. That, and the fact that git status/diff did not report them, made me thing they were from the repository. (I do not normally use git) You might want to look at the dates those files were created to see if you can get any extra information about who creates them. They look to me like broken editor backup files :) but that's just a guess. The easiest way to get rid of them is to have git clean them out -- you need to tell it to clean out files and include ignored files which is what the -x switch does. Make sure you specify the '*.bak' pattern otherwise it will clean out _everything_ that is not tracked which includes all of your compiled files. $ git clean -x '*.bak' HTH, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: *.bak files in trunk?
Bernt Hansen be...@norang.ca writes: The easiest way to get rid of them is to have git clean them out -- you need to tell it to clean out files and include ignored files which is what the -x switch does. Make sure you specify the '*.bak' pattern otherwise it will clean out _everything_ that is not tracked which includes all of your compiled files. $ git clean -x '*.bak' and you can dry-run the command by adding the -n switch $ git clean -n -x '*.bak' will tell you what it would have deleted without actually deleting anything. -Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: *.bak files in trunk?
On Jun 29, 2010, at 2:45 AM, Bernt Hansen wrote: Daniel Mahler dmah...@gmail.com writes: Is this normal? mahler:~/ELISP/org-mode-git$ git status # On branch master nothing to commit (working directory clean) mahler:~/ELISP/org-mode-git$ find . -name *.bak ./lisp/ChangeLog.bak ./lisp/babel/langs/ob-C.el.bak ... ./lisp/org-capture.el.bak.bak.bak.bak ./lisp/org-macs.elc.bak.bak.bak.bak ./lisp/org-publish.elc.bak.bak.bak.bak Hi Daniel, I don't think those files are in the repository but they are in your local working directory. There is an entry '*.bak' in the .gitignore file in the repository so 'git status' will not show these files by default (since they are ignored). You can see untracked files with $ git ls-files -o $ git ls-files '*.bak' returns nothing for me so there are no files ending in '.bak' in the repository as far as I can tell. The bigger problem seems to be that something is creating these files. Bu I have no idea what, noting in Org-mode I would think, must be some utility or stuff in Daniel's setup. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode