Print the incoming changelog on every update so 'what changed' answers itself
This commit is contained in:
1 parent
2d2572dae7
commit
b1664397a8
2 files changed
+7
No files matched your search
@@ -25,6 +25,9 @@ cd /d "%~dp0.."
|
||||
for %%r in (fullstack-agent ai-memory-vault backtalk barehands ai-visualizer) do (
|
||||
if exist "%%r\.git\" (
|
||||
echo == %%r
|
||||
rem show what is arriving BEFORE applying it
|
||||
git -C "%%r" fetch -q origin 2>nul
|
||||
git -C "%%r" log --oneline "..@{u}" 2>nul
|
||||
git -C "%%r" pull --ff-only
|
||||
)
|
||||
)
|
||||
|
||||
@@ -28,6 +28,10 @@ HOME_DIR="$(dirname "$HERE")"
|
||||
for repo in fullstack-agent ai-memory-vault backtalk barehands ai-visualizer; do
|
||||
if [ -d "$HOME_DIR/$repo/.git" ]; then
|
||||
echo "== $repo"
|
||||
# show what is arriving BEFORE applying it, so "what changed?"
|
||||
# answers itself on every update
|
||||
git -C "$HOME_DIR/$repo" fetch -q origin 2>/dev/null
|
||||
git -C "$HOME_DIR/$repo" log --oneline "..@{u}" 2>/dev/null | sed "s/^/ new: /"
|
||||
git -C "$HOME_DIR/$repo" pull --ff-only || \
|
||||
echo " (couldn't fast-forward; your local edits win. See the note at the top of this script.)"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user