chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tg-info.sh: Show missing dependencies (needs_update() enhancement)
[topgit.git]
/
tg-info.sh
diff --git
a/tg-info.sh
b/tg-info.sh
index 2a6fd44353c3b2fac2712e4390cea41da4c0a008..c95677f2440a90c4a945d734b977abf06cee872b 100644
(file)
--- a/
tg-info.sh
+++ b/
tg-info.sh
@@
-42,7
+42,11
@@
deps="$(git cat-file blob "$name:.topdeps" | paste -s -d' ')"
echo "Depends: $deps"
depcheck="$(mktemp)"
+missing_deps=
needs_update "$name" >"$depcheck"
+if [ -n "$missing_deps" ]; then
+ echo "MISSING: $missing_deps"
+fi
if [ -s "$depcheck" ]; then
echo "Needs update from:"
cat "$depcheck" |