On 5/10/20 2:14 AM, Christoph Hellwig wrote: > If neither guilt or stgit are used default to git am instead of patch > so that all the commit information is properly propagated. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Looks good to me. Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx> reminds me I need to change the help to show that the signed off by cmdline option is optional.... > --- > tools/libxfs-apply | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/libxfs-apply b/tools/libxfs-apply > index deb9c225..3258272d 100755 > --- a/tools/libxfs-apply > +++ b/tools/libxfs-apply > @@ -395,8 +395,8 @@ apply_patch() > fi > fi > else > - echo "Applying with patch utility:" > - patch -p1 < $_new_patch.2 > + echo "Applying with git am:" > + git am -s $_new_patch.2 > echo "Patch was applied in $REPO; check for rejects, etc" I suppose git-am will already be pretty noisy if there are rejects but *shrug* ;) > fi > >