mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
etcupdate: remove redundant diff3 flag
-A and -m select different output modes output modes for diff3. When both flags are present gnu diff3 prefers -m, drop the extra -A flag in etcupdate. Reviewed by: pstef, 0mp MFC after: 3 days Sponsored by: Klara Inc Differential Revision: <https://reviews.freebsd.org/D###>
This commit is contained in:
parent
869199d992
commit
016bfb0a97
1 changed files with 2 additions and 2 deletions
|
|
@ -849,8 +849,8 @@ merge_file()
|
|||
# the conflicts directory.
|
||||
if [ -z "$dryrun" ]; then
|
||||
install_dirs $NEWTREE $CONFLICTS $1
|
||||
log "diff3 -m -A ${DESTDIR}$1 ${CONFLICTS}$1"
|
||||
diff3 -m -A -L "yours" -L "original" -L "new" \
|
||||
log "diff3 -m ${DESTDIR}$1 ${CONFLICTS}$1"
|
||||
diff3 -m -L "yours" -L "original" -L "new" \
|
||||
${DESTDIR}$1 ${OLDTREE}$1 ${NEWTREE}$1 > \
|
||||
${CONFLICTS}$1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue