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

Re: git rebase --continue with goofy error

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Dec 4, 2008, 16:27 UTC
Message-ID
<20081204162757.GA23360@atjola.homenet>
In-Reply-To
<5AC243B6-F048-4286-80E1-1D0E695792B9@illumaware.com>
On 2008.12.04 09:55:55 -0500, Adrian Klingel wrote:
Show 29 quoted lines
> And I get the following:
>
> *********
> mymac:/Library/mydir/code/myapp me$ git rebase --continue
> Unknown option: 1
> Usage: head [-options] <url>...
>     -m <method>   use method for the request (default is 'HEAD')
>     -f            make request even if head believes method is illegal
>     -b <base>     Use the specified URL as base
>     -t <timeout>  Set timeout value
>     -i <time>     Set the If-Modified-Since header on the request
>     -c <conttype> use this content-type for POST, PUT, CHECKIN
>     -a            Use text mode for content I/O
>     -p <proxyurl> use this as a proxy
>     -P            don't load proxy settings from environment
>     -H <header>   send this HTTP header (you can specify several)
>
>     -u            Display method and URL before any response
>     -U            Display request headers (implies -u)
>     -s            Display response status code
>     -S            Display response status chain
>     -e            Display response headers
>     -d            Do not display content
>     -o <format>   Process HTML content in various ways
>
>     -v            Show program version
>     -h            Print this message
>
>     -x            Extra debugging output

That comes via git-am which used to call "head -1", but using -<n> is deprecated and apparently not supported anymore by modern versions of coreutils. Was fixed in:

1d9b2656: git-am: head -1 is obsolete and doesn't work on some new systems
Which is in git 1.5.6.
Björn
Previous: Adrian KlingelNext: Michael J Gruber
Message 2 of 6 in “git rebase --continue with goofy error”
  1. Adrian KlingelDec 4, 2008
  2. Björn SteinbrinkDec 4, 2008
  3. Michael J GruberDec 4, 2008
  4. Adrian KlingelDec 4, 2008
  5. Johannes SchindelinDec 4, 2008
  6. Adrian KlingelDec 4, 2008

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.