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

Re: [IGNORE] Implement 'git rebase' in ruby

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 10, 2013, 17:20 UTC
Message-ID
<CAMP44s2CqhxjzmZc7CiYER=F9BK1bxyCGBwCpLeq+yjDHwSj-w@mail.gmail.com>
In-Reply-To
<CALkWK0=am0kDZWKuvdx9ph+zwtXdjRAbwu3e=GfEYUp+o8oy0g@mail.gmail.com>

On Mon, Jun 10, 2013 at 2:48 AM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:

Show 8 quoted lines
> Felipe Contreras wrote:
>>  git-rebase.rb | 2056 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 2056 insertions(+)
>>  create mode 100755 git-rebase.rb
>
> I suggest putting this in contrib/ and cooking it.  As usual, my
> mantra is: let the patches decide what to do.  I'll help review and
> improve this soon.

What would be the point? There's only so much this script could do. I was already relying on an improved 'git cherry-pick' that's never going to happen.

I think it would be more interesting to fork Git, replace all the main builtin commands with Ruby scripts that access libgit.a, and copy the code to a libgit-ng library that has stuff that is worthy of being on a library until the scripts don't access libgit.a any more. All the time passing all tests in the test framework of course.

Then there would be a truly useful and stable Git library, and we would have scripts that work on all platforms, including Windows, without any forks, and the commands would be more maintainable, and would gather the potential of so many Ruby developers, which if GitHub is any indication; a lot of them love Git.

I think that's the only way forward, since the Git project doesn't wish to be improved.

There's only one last patch series that I'll try to push to Git that I've been cooking for years. Sadly, I don't think it's going to land, despite it being clearly good, and a simple single patch doing the trick, and it would be immensely useful for our users, who have complained about that for years, and most Git developers have agreed it needs to be done. Yet, if I send it, it would not land.

Perhaps it's time for me to create a pseudonym, and when you have to do that to land clearly good patches, you know something is *REALLY* wrong with the project.

-- 
Felipe Contreras
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 3 of 6 in “[IGNORE] Implement 'git rebase' in ruby”
  1. Felipe ContrerasJun 10, 2013
  2. Ramkumar RamachandraJun 10, 2013
  3. Felipe ContrerasJun 10, 2013
  4. Ramkumar RamachandraJun 10, 2013
  5. Felipe ContrerasJun 10, 2013
  6. Paolo CiarrocchiJun 11, 2013

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.