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

Re: pull/merge --no-commit

From
Kkurt_p_lloyd <kplloyd@alcatel-lucent.com>
Date
Jun 7, 2007, 04:39 UTC
Message-ID
<46678C04.1030507@alcatel-lucent.com>
In-Reply-To
<46678909.10608@alcatel-lucent.com>
PS - Sorry, I should have mentioned the git version: 1.5.2.1
kurt_p_lloyd wrote:
Show 28 quoted lines
> Hello,
> I'm new to git, thought I'd take it for a spin.
> Found what seems to me to be a problem,
> hoping someone can shed light on it.
> 
> I /really/ want --no-commit to work, bit it doesn't seem to:
> 
> I run:      git pull --no-commit ssh://<blah blah blah>
> 
> then I run: git status
> 
> it says:    nothing to commit (working directory clean)
> 
> then I run: git log
> 
> it shows the commit message from the other user below a
> commit sha1, and the change I pulled was indeed merged to
> my file.
> 
> Does this seem to be a bug, or am I doing something wrong?
> BTW, merge --no-commit gives me the same problem.  It merges
> fine but does the commit.
> 
> I put a 'set -x' in the git-merge shell script (which gets
> called by pull) from one of my 'pull' runs, I have the output
> if anyone wants it.
> 
> -Kurt
Previous: kurt_p_lloydNext: Junio C Hamano
Message 2 of 10 in “pull/merge --no-commit”
  1. kurt_p_lloydJun 7, 2007
  2. kurt_p_lloydJun 7, 2007
  3. Junio C HamanoJun 7, 2007
  4. kurt_p_lloydJun 7, 2007
  5. Junio C HamanoJun 7, 2007
  6. Kevin GreenJun 7, 2007
  7. Keith DuthieJun 7, 2007
  8. kurt_p_lloydJun 7, 2007
  9. J. Bruce FieldsJun 7, 2007
  10. Keith DuthieJun 7, 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.