From: Petr Baudis Date: Sat, 21 Jan 2006 02:04:23 GMT Subject: Re: [PATCH] Lower priority of Cogito's default exclude patterns Message-ID: <20060121020423.GJ28365@pasky.or.cz> In-Reply-To: <20060119140728.GA14998@diana.vm.bytemark.co.uk> Thanks, patch applied and pushed out. Dear diary, on Thu, Jan 19, 2006 at 03:07:28PM CET, I got a letter where Karl Hasselström said that... > On 2006-01-19 13:42:44 +0100, Petr Baudis wrote: > > Oh, now I remember - one my major concern is that now Cogito will > > not work if not make install'd, which is how I actually primarily > > use it on my machine. > > The not-installed case could easily be worked around by users if > cogito looked at /etc/cogito/exclude and ~/.cogito/exclude as well. > (Or maybe that should be /etc/git/exclude and ~/.gitexclude, so that > e.g. stgit can use the same files.) Would you accept a patch that did > this? Sorry, this doesn't make sense to me - how would that help? The user can as well just make install in that case, instead of manually copying out one file. if [ -n "${COGITO_SHARE}" ]; then COGITO_REAL_SHARE="${COGITO_SHARE}" return fi if [ "${0%/*}" != "$0" ]; then COGITO_REAL_SHARE="${0%/*}/" return fi # I'm not sure if the following normally ever gets triggered. # I can only do it by `sh cg-status`. --pasky COGITO_REAL_SHARE="./$_git_relpath/" should work well, though. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Of the 3 great composers Mozart tells us what it's like to be human, Beethoven tells us what it's like to be Beethoven and Bach tells us what it's like to be the universe. -- Douglas Adams