Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Questions about ignoring files

fsvs
Discussion topic

Back to topic list

Re: Questions about ignoring files

Author griffon26
Full name Maurice van der Pot
Date 2008-07-13 11:21:28 PDT
Message On Sat, Jul 12, 2008 at 03:59:03PM +0200, Philipp Marek wrote:
> > > fsvs ignore $PWD/somefile
> >
> > I've put my homedir under version control as a normal user. I'm guessing
> > this will not only issue a warning, but will also not work if I check
> > out to a different base directory (for instance if my username is
> > different on another host).
> Yes, that's right.
> I'll have to think about some way to distinguish a general "based on WC-root"
> pattern from "starts here" - possibly by looking whether that path exists
> *only* in the CWD but not in the WC, and *doesn't* start with "./" - else it
> wouldn't be clear what the user wants.
> "./" is defined to be used from the WC root - which, looking back, might be a
> bit unfortunate. Maybe I'll have to change that.

If I'm not mistaken there are only two types of ignore patterns:
relative ones (to the repository root) and absolute ones.

My guess is that the relative ones are used more often than the absolute
ones.

I think it would be very useful to be able to use all normal features in
specifying paths (variables such as ${HOME}, wildcards expanded by the
shell, the tab-key to complete a partial path, etc).

This can be achieved by just prefixing absolute paths with a special
character such as : or =, so tab completion and the like will still work.

I must admit I have not considered how this would interact with regular
expressions though.

My $0.02
 
Regards,
Maurice.

--
Maurice van der Pot

Gentoo Linux Developer griffon26 at gentoo dot org http://www.gentoo.org
Gnome Planner Developer griffon26 at kfk4ever dot com http://live.gnome.org/Planner
Attachments

« Previous message in topic | 6 of 20 | Next message in topic »

Messages

Show all messages in topic

Questions about ignoring files griffon26 Maurice van der Pot 2008-07-06 15:27:51 PDT
     Re: Questions about ignoring files pmarek P.Marek 2008-07-12 05:35:32 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-12 05:55:44 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-12 06:59:03 PDT
                 Re: Questions about ignoring files pmarek P.Marek 2008-07-12 07:02:53 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-13 11:21:28 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-14 08:40:14 PDT
             Re: Questions about ignoring files Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-07-12 07:16:43 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 05:20:28 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 06:51:10 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 09:23:47 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-15 11:16:40 PDT
                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 14:07:06 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 22:17:07 PDT
                                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-17 03:58:04 PDT
                                     Re: Questions about ignoring files pmarek P.Marek 2008-07-17 04:13:38 PDT
                                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-18 10:54:56 PDT
                                             Re: Questions about ignoring files [PATCH] pmarek P.Marek 2008-07-18 11:58:38 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-16 20:37:21 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-17 10:22:56 PDT
Messages per page: