From: Eric Sunshine Date: Sun, 26 Jun 2016 23:05:28 GMT Subject: Re: [PATCH/RFC 3/3] diff.c: add --relative-names to be used with --name-only Message-ID: In-Reply-To: <20160626171616.27948-4-pclouds@gmail.com> On Sun, Jun 26, 2016 at 1:16 PM, Nguyễn Thái Ngọc Duy wrote: > The difference with --relative option is, this option does not filter > paths outside cwd. You can add two more chars " ." on your command > line for that. > > This serves two purposes > > - user friendlier to copy/paste. When full paths are shown, you can > still use ":/" magic to get around it, but unless you're a lefty > you need to move your right hand between the keyboard and mouse for > each path. Not very efficient. > > - script friendly. Strictly speaking a very light form of scripting > from command line prompt when you just pipe paths to the next > command. Paths relative to cwd would be much easier to pip this s/pip/pipe/ > way. > > Signed-off-by: Nguyễn Thái Ngọc Duy