From: Masahiro Yamada Date: Fri, 13 Jun 2014 16:33:44 +0900 Subject: [U-Boot] [Patman Bug Report] Patman breaks git-log during git-rebase In-Reply-To: References: <20140604173224.9567.AA925319@jp.panasonic.com> Message-ID: <20140613163343.C3AD.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, > > [8] Cansel the patman and check the git-log > > and you will find Patman tags are gone!! > > By cancel I guess you mean to press 'q' when it asks to send the first email? Yes. > If you give the -a flag it will avoid trying to apply the patches, and > the problem does not happen. > > The problem is that when patman applies the patches it checks out a > new branch, uses 'git am' to apply the patches one by one, and then > tries to go back to the old branch. Since the branch is called > 'undefined' these doesn't really work. It seems that 'undefined' is > created by git and is persistent after it is created. It's a bit odd > but I may be missing something. > > Anyway I think I can put in a check for the 'undefined' branch and avoid this. Sorry, I don't have this level of understanding of how Patman works, but... anyway -a option worked for me and I'm happy. Thanks! Best Regards Masahiro Yamada