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

Re: MERGE_RR droppings

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 26, 2012, 05:30 UTC
Message-ID
<7vtxxyd4hz.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAJDDKr7Hj4f-Gww4j89kppR8g1vzmhmydsFnG0ecjzL5WrRP4g@mail.gmail.com>
David Aguilar <davvid@gmail.com> writes:
Show 6 quoted lines
>> Perhaps mergetool should consider a missing MERGE_RR and an empty
>> one the same way?
>
> Would that test look (roughly) like this?
>
>     if test -f "$GIT_DIR/MERGE_RR" && test -n "$(cat "$GIT_DIR/MERGE_RR")"
Hrm, would "test -s $that_file" be simpler?
Show 8 quoted lines
>     then
> 	files=$(git rerere remaining)
>     else
> 	files=$(git ls-files -u | sed -e 's/^[^	]*	//' | sort -u)
>     fi
>     ...
>
> If so I'll throw together a patch.
Previous: David AguilarNext: Junio C Hamano
Message 6 of 11 in “Re: MERGE_RR droppings”
  1. Phil HordJun 18, 2012
  2. Junio C HamanoJun 18, 2012
  3. Phil HordJun 25, 2012
  4. Junio C HamanoJun 25, 2012
  5. David AguilarJun 26, 2012
  6. Junio C HamanoJun 26, 2012
  7. Junio C HamanoJun 26, 2012
  8. Phil HordJun 26, 2012
  9. David AguilarJul 1, 2012
  10. Junio C HamanoJul 2, 2012
  11. Phil HordJul 2, 2012

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.