tummychow / git-absorb

git commit --fixup, but automatic
https://crates.io/crates/git-absorb
BSD 3-Clause "New" or "Revised" License
3.39k stars 58 forks source link

foreign author found #3

Closed jtojnar closed 5 years ago

jtojnar commented 5 years ago

When I try git-absorb it fails with the following error

Nov 19 17:53:54.116 WARN foreign author found, commit: bd8171213c322bc49a0e9171abc338ec322b5c45, line: 65, module: git_absorb::stack
tummychow commented 5 years ago

tl;dr this is expected behavior

git-absorb will not absorb into commits that were authored by other people. the force flag doesn't do anything right now, but it's supposed to turn off safety checks like this one. i just haven't implemented it yet

NiklasMM commented 5 years ago

I would love to see the force flag implemented. I need to be able to fixup other peoples commits.

alyssais commented 5 years ago

Should the error message be changed? "WARN foreign author found" doesn't sound particularly friendly, and made me do a double take before I realised what it was saying.