GNU bug report logs - #8159
file-name-sans-version fails for some git files

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 2 Mar 2011 22:32:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8159 <at> debbugs.gnu.org, Reuben Thomas <rrt <at> sc3d.org>
Subject: bug#8159: file-name-sans-version fails for some git files
Date: Thu, 03 Mar 2011 15:33:30 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Thu, 3 Mar 2011 12:02:53 +0000
>> From: Reuben Thomas <rrt <at> sc3d.org>
>> Cc: 8159 <at> debbugs.gnu.org
>> 
>> On 3 March 2011 03:58, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> >> Date: Wed, 2 Mar 2011 22:31:12 +0000
>> >> From: Reuben Thomas <rrt <at> sc3d.org>
>> >> Cc:
>> >>
>> >> filenames like foo.js.~HEAD~1~ aren't handled properly because of the
>> >> internal tilde.
>> >
>> > What would be the "proper" handling of such a file name?  What is the
>> > "version" here?
>> 
>> The version is HEAD~1, so the only difference from supported version
>> formats is the internal tilde.
>
> If you don't want the version to be "~1~", then I guess this is okay.

It cannot be the version because it lacks the period.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 14 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.