mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-08-15 05:20:09 +00:00
update.sh: use "git add -N" to avoid omitting files
This commit is contained in:
parent
bf6dbf8f74
commit
c5c80e377e
@ -44,6 +44,7 @@ if ! grep -q uploaders "$PKGCFG"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
run_debcargo
|
run_debcargo
|
||||||
|
git add -N "$PKGDIR"
|
||||||
|
|
||||||
if ! git diff --quiet -- "$PKGDIR_REL"; then
|
if ! git diff --quiet -- "$PKGDIR_REL"; then
|
||||||
read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x || true
|
read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x || true
|
||||||
|
Loading…
Reference in New Issue
Block a user