Fossil SCM
Improve ignore-glob
2cfd96b2ba71370…
· opened 14 years, 11 months ago
- Type
- Feature_Request
- Priority
- —
- Severity
- Important
- Resolution
- Fixed
- Subsystem
- —
- Created
- April 24, 2011 6:43 a.m.
When working with multiple 3rdparty libraries and generated files the ignore-glob entry gets unwieldy. For instance my current:
*~,*.org,*/tags,*/types_c.vim,*.dep,*.dll,*.exe,*.exp,*.idb,*.ilk,*.lib,*.manifest,*.ncb,*.o,*.obj,*.pdb,*.res,*.suo,*.user,*/Debug/*,*/Release/*,*/Win32_LIB_Debug/*,*/Win32_LIB_Release/*,*/debug/*,*/obj/*,*/release/*,*/BuildLog.htm,src/3rdparty/lua/work/*,src/3rdparty/ogre3d.org-out/*,src/3rdparty/MyGUI/MyGUI-src/Docs/Doxyfile,src/3rdparty/MyGUI/MyGUI-src/Docs/html/*
While this is manageable with a decent text editor (s/,//g), an expanded format would be very welcome.
I propose little more than changing the setting page's ignore-glob input ctrl to a multi-line input ctrl, and accepting a pattern per line in addition to the comma separated list that is current.
Further enhancement could include comments. (I found such rather handy when using Mercurial)
Thank you for Fossil (=
Comments (3)
Reminder: i looked at changing that config field in /setup_settings a TEXTAREA, but it's handled by a generic property loop which assumes a TEXT field, so adding this to the web UI requires a bit of effort. The ignore-glob internally supports newline as a separator, so this is "just" a matter of getting the UI for it.
Experimental fix committed to [949976e065]. Could use some tweaking in the exact layout, but actually already looks quite good.
Fixed in trunk now