mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
![Martin von Zweigbergk](/assets/img/avatar_default.png)
The SYNOPSIS sections of most commands that span several lines already use [verse] to retain line breaks. Most commands that don't span several lines seem not to use [verse]. In the HTML output, [verse] does not only preserve line breaks, but also makes the section indented, which causes a slight inconsistency between commands that use [verse] and those that don't. Use [verse] in all SYNOPSIS sections for consistency. Also remove the blank lines from git-fetch.txt and git-rebase.txt to align with the other man pages. In the case of git-rebase.txt, which already uses [verse], the blank line makes the [verse] not apply to the last line, so removing the blank line also makes the formatting within the document more consistent. While at it, add single quotes to 'git cvsimport' for consistency with other commands. Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
29 lines
737 B
Plaintext
29 lines
737 B
Plaintext
git-get-tar-commit-id(1)
|
|
========================
|
|
|
|
NAME
|
|
----
|
|
git-get-tar-commit-id - Extract commit ID from an archive created using git-archive
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git get-tar-commit-id' < <tarfile>
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Acts as a filter, extracting the commit ID stored in archives created by
|
|
'git archive'. It reads only the first 1024 bytes of input, thus its
|
|
runtime is not influenced by the size of <tarfile> very much.
|
|
|
|
If no commit ID is found, 'git get-tar-commit-id' quietly exists with a
|
|
return code of 1. This can happen if <tarfile> had not been created
|
|
using 'git archive' or if the first parameter of 'git archive' had been
|
|
a tree ID instead of a commit ID or tag.
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|