<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-03-23 17:28 GMT+01:00 Sebastian Ramacher <span dir="ltr"><<a href="mailto:sramacher@debian.org" target="_blank">sramacher@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 2015-03-23 17:20:38, Jaromír Mikeš wrote:<br>
> 2015-03-23 16:31 GMT+01:00 Matteo F. Vescovi <<a href="mailto:mfv@debian.org">mfv@debian.org</a>>:<br>
><br>
> Hi Matteo,<br>
><br>
> On 2015-03-23 at 16:19 (CET), <a href="mailto:mira-guest@users.alioth.debian.org">mira-guest@users.alioth.debian.org</a> wrote:<br>
> > > The annotated tag, debian/2.0+beta7.1+repack0-1 has been created<br>
> > >         at  f88ca4244069e483a858b62d8313db0456a72a5a (tag)<br>
> > >    tagging  6702c59935cf4e23b16e7fbbde4c9eb30159fe46 (commit)<br>
> > >   replaces  debian/2.0+beta5.1+repack0-2<br>
> > >  tagged by  Jaromír Mikeš<br>
> > >         on  Mon Mar 23 16:19:42 2015 +0100<br>
> > ><br>
> > > - Shortlog ------------------------------------------------------------<br>
> > > Debian release debian/2.0+beta7.1+repack0-1<br>
> ><br>
> > Why did you tag with "2.0+beta7.1~repack0-1" while the version is<br>
> > "2.0~beta7.1~repack0-1"?<br>
> ><br>
><br>
> If I recall right "~" is for some reason problematic that's why is replaced<br>
> for tagging by "+" or "_".<br>
> I don't know technical reason.<br>
> Please correct me if I am wrong.<br>
<br>
</span>See git-check-ref-format(1) for the technical reason:<br>
<br>
 4. They cannot have ASCII control characters (i.e. bytes whose values are lower<br>
    than \040, or \177 DEL), space, tilde ~, caret ^, or colon : anywhere.<br>
<br>
git-buildpackage usually replaces ~ with _, but my memory might be wrong.<br></blockquote><div><br></div><div>Interesting.<br><br></div><div>BTW this difference between tags names and changelog entry makes git-dch --auto not working (for packages with ~ in names) as git-dch cannot find right tag :(<br><br></div><div>regards<br></div><div><br></div><div>mira<br></div></div><br></div></div>