Skip to content

Code Example error - double escaped #371

Closed

Description

@ryanjmccall

On https://git-scm.com/book/en/v2/Git-Basics-Tagging

The example code looks like:
git tag -l 'v1.8.5*'

Think it should be something like git tag -l 'v1.8.5*'

Line 682 of source <pre data-type="programlisting" data-code-language="console"><code class="gp">$</code> git tag -l <code class="p">&amp;</code>apos<code class="p">;</code>v1.8.5*<code class="p">&amp;</code>apos<code class="p">;</code>

Activity

  1. changed the title [-]Git Basics Tagging Code Example HTML error [/-] [+]Git Basics Tagging Page - Code Example error [/+] on Aug 20, 2015
  2. ben commented on Aug 20, 2015

    @ben
    Member

    Looks like you've found a bug with Atlas' Asciidoc parser; here is the source file, and it appears correct. I'll bring it up in the forum.

  3. wolfgang42 commented on Nov 16, 2015

    @wolfgang42

    In #444 @ben linked to this Atlas forum post which says a fix is coming out shortly.

  4. changed the title [-]Git Basics Tagging Page - Code Example error [/-] [+]Code Example error - double escaped[/+] on Nov 17, 2015
  5. YueLinHo commented on Mar 17, 2016

    @YueLinHo
    Contributor

    Atlas forum post : Effective March 2016, the Atlas forum is no longer available.

    image

  6. anatolyborodin commented on Mar 17, 2016

    @anatolyborodin

    Hi @ben!

    I've logged it here, hopefully it'll get resolved soon and I can just hit "rebuild."

    Is there a new version with the fix? https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery still has Reflog: HEAD@{0} (Scott Chacon &lt;schacon@gmail.com&gt;) etc.

    PS

    Effective March 2016, the Atlas forum is no longer available.

    LOL!

  7. HonkingGoose commented on Apr 3, 2019

    @HonkingGoose
    Contributor

    The issue with git tag -l &apos;v1.8.5*&apos; is fixed, from https://git-scm.com/book/en/v2/Git-Basics-Tagging:

    $ git tag -l "v1.8.5*"
    v1.8.5
    v1.8.5-rc0
    v1.8.5-rc1
    v1.8.5-rc2
    v1.8.5-rc3
    v1.8.5.1
    v1.8.5.2
    v1.8.5.3
    v1.8.5.4
    v1.8.5.5
    

    The issue with Reflog: HEAD@{0} (Scott Chacon &lt;schacon@gmail.com&gt;) is also fixed, from https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery:

    $ git log -g
    commit 1a410efbd13591db07496601ebc7a059dd55cfe9
    Reflog: HEAD@{0} (Scott Chacon <schacon@gmail.com>)
    Reflog message: updating HEAD
    Author: Scott Chacon <schacon@gmail.com>
    Date:   Fri May 22 18:22:37 2009 -0700
    
  8. ben commented on Apr 4, 2019

    @ben
    Member

    ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions