Use the 'rev' arg in git.rebase, Fix #4767