git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Confusing language in man page

From
SSSatyam Sharma <satyam.sharma@gmail.com>
Date
Jul 14, 2007, 20:27 UTC
Message-ID
<a781481a0707141327k5b6f8f43sc6330ff8cc504dd1@mail.gmail.com>
In-Reply-To
<a781481a0707141108g4664a627w94e0d21c3629cb49@mail.gmail.com>
On 7/14/07, Satyam Sharma <satyam.sharma@gmail.com> wrote:
> Hi,
>
> [ I'm using Fedora's latest package. ]
I should probably clarify:

$ git --version git version 1.5.0.6

Perhaps man pages / functionality have been updated significantly since that, so let me know if that's the case.

Show 10 quoted lines
> From git-checkout(1) and git-branch(1):
>
> -l     Create the new branch's ref log. This activates recording of
> all changes to made the
>        branch ref, enabling use of date
>
> I'd be glad if someone could explain that a bit more verbosely
> in the man page
> (or just here in a reply), or at least make that grammatically
> correct/readable :-)
Ok, another confusion I hit (as I learn more about git) tonight:
* What exactly is the use of git-diff's "-p" option?
$ git diff
and
$ git diff -p

produce the same output / do the same thing -- the man page mentions "Generate patch (see section on generating patches)" but I couldn't find said section (is that referring to some other man page?)

* On my system, doing:
$ git diff

with no outstanding changes in my current working tree produces some bogus newlines, throwing the prompt to the bottom of the xterm window. This sounds like weird / undesirable behaviour and I have a feeling must already be fixed in latest git (?)

Thanks, Satyam

Previous: Satyam SharmaNext: Alex Riesen
Message 2 of 4 in “Confusing language in man page”
  1. Satyam SharmaJul 14, 2007
  2. Satyam SharmaJul 14, 2007
  3. Alex RiesenJul 15, 2007
  4. Satyam SharmaJul 15, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.