emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24958: closed (Please make "omitting directory" me


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24958: closed (Please make "omitting directory" message clearer)
Date: Sat, 19 Nov 2016 13:32:02 +0000

Your message dated Sat, 19 Nov 2016 13:31:35 +0000
with message-id <address@hidden>
and subject line Re: bug#24958: Please make "omitting directory" message clearer
has caused the debbugs.gnu.org bug report #24958,
regarding Please make "omitting directory" message clearer
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24958: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24958
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Please make "omitting directory" message clearer Date: Thu, 17 Nov 2016 01:44:56 +0100 User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)
Hello,

Every year, my students are completely taken aback when trying to copy a
directory:

$ cp /foo/bar .
omitting directory /foo/bar

The problem is that the error message is not explicit at all about what
issue cp actually encountered: "yes it is a directory, so what?!"

Could this be changed into for instance:

$ cp /foo/bar .
not recursing into directory /foo/bar by default

which will help them figure out they just need to use -r.

Samuel



--- End Message ---
--- Begin Message --- Subject: Re: bug#24958: Please make "omitting directory" message clearer Date: Sat, 19 Nov 2016 13:31:35 +0000 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
On 17/11/16 02:59, Bernhard Voelker wrote:
> On 11/17/2016 03:40 AM, Pádraig Brady wrote:
>> Right that's better for cp, though inaccurate for install(1).
> 
> Good point!
> 
>> I'll do this I think:
>>
>>   if (install)
>>     "omitting directory '/foo/bar'"
>>   else /* cp */
>>     "-r not specified; omitting directory '/foo/bar'"
> 
> I like it.  Please don't forget 'tests/cp/link-deref.sh'.

I'll push the attached later.

Marking this bug as done.

thanks,
Pádraig

Attachment: cp-dir-error.patch
Description: Text Data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]