Skip to content
Snippets Groups Projects
Select Git revision
  • todo
  • master default
  • maint
  • pu
  • next
  • v2.21.0
  • v2.21.0-rc2
  • v2.21.0-rc1
  • v2.21.0-rc0
  • v2.20.1
  • v2.20.0
  • v2.20.0-rc2
  • v2.20.0-rc1
  • v2.19.2
  • v2.20.0-rc0
  • v2.19.1
  • v2.18.1
  • v2.17.2
  • v2.16.5
  • v2.15.3
  • v2.14.5
  • v2.19.0
  • v2.19.0-rc2
  • v2.19.0-rc1
  • v2.19.0-rc0
25 results

git-worktree.txt

  • Eric Sunshine's avatar
    d023df1e
    git-worktree.txt: fix indentation of example and text of 'add' command · d023df1e
    Eric Sunshine authored
    
    When 4e853331 (worktree: make add <path> <branch> dwim, 2017-11-26)
    added an example command in a literal code block, it neglected to
    insert a mandatory "+" line before the block. This omission resulted
    in both the literal code block and the (existing) paragraph following
    the block to be outdented, even though they should be indented under
    the 'add' sub-command along with the rest of the text pertaining to
    that command. Furthermore, the mandatory "+" line separating the code
    block from the following text got rendered as a leading character on
    the line ("+ If <commit-ish>...") rather than being treated as a
    formatting directive.
    
    Fix these problems by adding the missing "+" line before the example
    code block.
    
    Signed-off-by: default avatarEric Sunshine <sunshine@sunshineco.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    d023df1e
    History
    git-worktree.txt: fix indentation of example and text of 'add' command
    Eric Sunshine authored
    
    When 4e853331 (worktree: make add <path> <branch> dwim, 2017-11-26)
    added an example command in a literal code block, it neglected to
    insert a mandatory "+" line before the block. This omission resulted
    in both the literal code block and the (existing) paragraph following
    the block to be outdented, even though they should be indented under
    the 'add' sub-command along with the rest of the text pertaining to
    that command. Furthermore, the mandatory "+" line separating the code
    block from the following text got rendered as a leading character on
    the line ("+ If <commit-ish>...") rather than being treated as a
    formatting directive.
    
    Fix these problems by adding the missing "+" line before the example
    code block.
    
    Signed-off-by: default avatarEric Sunshine <sunshine@sunshineco.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>