Bug#901805: want option to git-rebase

2018-06-18 Thread Jonathan Nieder
severity 901805 wishlist
tags 901805 + upstream
retitle 901805 git rebase: allow calling scripts to customize reflog action
forwarded 901805 
https://public-inbox.org/git/20180619010655.ga173...@aiede.svl.corp.google.com/
quit

Hi,

Ian Jackson wrote:

> git-rebase leaves entries like this in the reflog:
>
>   c15f4d5391 HEAD@{33}: rebase: checkout 
> c15f4d5391ff07a718431aca68a73e672fe8870e
>
> It would be nice if there were an option to control this message.
> Particularly, when another tool invokes git-rebase, the other tool may
> specify an interesting --onto, and there is no way to record any
> information about that --onto commit.

Thanks for reporting.  Let's take this upstream.

Sincerely,
Jonathan



Bug#901805: want option to git-rebase

2018-06-18 Thread Ian Jackson
Package: git
Version: 1:2.11.0-3+deb9u2

git-rebase leaves entries like this in the reflog:

  c15f4d5391 HEAD@{33}: rebase: checkout 
c15f4d5391ff07a718431aca68a73e672fe8870e

It would be nice if there were an option to control this message.
Particularly, when another tool invokes git-rebase, the other tool may
specify an interesting --onto, and there is no way to record any
information about that --onto commit.

git-rebase already has a -m option, so I suggest
  --reason=

It doesn't matter much exactly how the provided string is used.
Any of the following would be good IMO:
  
  rebase start: 

I think:
  rebase: checkout c15f4d5391ff07a718431aca68a73e672fe8870e 
would be rather cumbersome.

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.