Log message #579675

# At Username Text
# Mar 9th 2009, 16:28 AD7six git add tmp/cache/persistent/empty andand .... will ignore your ignore settings
# Mar 9th 2009, 16:28 alkemann but can i get the tmp folders into the git with empty files and then adding ignore?
# Mar 9th 2009, 16:26 alkemann but yea i probably should use less .gitingore files
# Mar 9th 2009, 16:26 ADmad i need to add my komodo project file to 2.0.x.x's gitignore :)
# Mar 9th 2009, 16:26 AD7six swap files for gedit iirc
# Mar 9th 2009, 16:25 alkemann whats .swo and swp ?
# Mar 9th 2009, 16:25 jperras and the patterns you specify are relative to where the .gitignore file actually is in your file tree
# Mar 9th 2009, 16:24 AD7six that's my 'standard' ignore file: http://thechaw.com/cakebook/source/.gitignore
# Mar 9th 2009, 16:24 jperras the lower level ones override the higher level ones
# Mar 9th 2009, 16:24 alkemann like i have on with just "database.php" in config folder and one with * in plugins etc
# Mar 9th 2009, 16:24 AD7six there you go
# Mar 9th 2009, 16:24 jperras AD7six: you can have many nested ignores
# Mar 9th 2009, 16:23 alkemann works for me with them placed in folders i need
# Mar 9th 2009, 16:23 AD7six or maybe the one at the top is all you need and I stopped looking thereafter :P
# Mar 9th 2009, 16:23 AD7six alkemann: well, only the one at the top counts afaik
# Mar 9th 2009, 16:22 alkemann AD7six: so multiple .gitignore is not good?
# Mar 9th 2009, 16:21 alkemann yea, like i said, just baked in the admin view for the bake process to have easy access to rebake
# Mar 9th 2009, 16:20 jperras that's kind of like a sledge hammer
# Mar 9th 2009, 16:20 alkemann heh kinda basic solution : http://bin.cakephp.org/view/1653630027
# Mar 9th 2009, 16:19 _nate_ yup
# Mar 9th 2009, 16:19 gwoo is a good place to start
# Mar 9th 2009, 16:19 gwoo list and clear
# Mar 9th 2009, 16:19 jperras _nate_: agreed
# Mar 9th 2009, 16:19 alkemann in console?
# Mar 9th 2009, 16:19 _nate_ I think an overall cache management console would be better
# Mar 9th 2009, 16:18 AD7six so call cake clear from wherever.
# Mar 9th 2009, 16:18 AD7six alkemann: alt I use that http://trac.assembla.com/mi/browser/branches/base/vendors/shells/clear.php probably similar to what you've already got
# Mar 9th 2009, 16:17 AD7six as with svn ignoring something that's in the repo doesn't 'work'
# Mar 9th 2009, 16:17 alkemann with empty files?
# Mar 9th 2009, 16:17 AD7six alkemann: you commit the structure and the add tmp/* to the ignore file
# Mar 9th 2009, 16:17 alkemann it could. but having it include the tmp folders but not files is an advantage too
# Mar 9th 2009, 16:16 AD7six alkemann: you should only have one .gitignore file
# Mar 9th 2009, 16:16 ADmad alkemann: shouldnt your gitignore be outside tmp ?
# Mar 9th 2009, 16:15 alkemann my problem with the tmp folder is that i have a "clear cache" button baked in admin view. it deletes the folder and rebuilds the folders.. kinda also takes the .gitignore heh
# Mar 9th 2009, 16:14 AD7six not quite so critical, but still.
# Mar 9th 2009, 16:14 alkemann wouldnt kill anyone to have them logged though
# Mar 9th 2009, 16:14 AD7six jperras: oh cool... I've added some tmp folders that were created by putting logging code in the editor console - and the tmp dir being created from the working dir at the time..
# Mar 9th 2009, 16:13 jperras alkemann: favourite because it solved my problem of having mistakenly committed my tmp folder due to a misconfigured .gitignore
# Mar 9th 2009, 16:13 jperras but awesome when you accidentally commit say a temp file, or core.php, or database.php
# Mar 9th 2009, 16:12 alkemann jperras: why would u need that enough for it to become favorite ? :P
# Mar 9th 2009, 16:12 jperras dangerous because if you have pushed some code remotely, then it'll screw with other peoples repos