aboutsummaryrefslogtreecommitdiffstats
path: root/html/js
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-08 18:40:18 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-08 18:40:18 +0000
commitdfaa953a37aeb3c03f7c59810531fe423225028c (patch)
tree3da877a2d4e4d631a8cfaacbbf440d12c7d0eb09 /html/js
parent2a7415a34c3d4b09d311b5548ab0b709ee7e4688 (diff)
downloadgit-deps-dfaa953a37aeb3c03f7c59810531fe423225028c.tar.gz
show resolution of commitish in notification
Diffstat (limited to 'html/js')
-rw-r--r--html/js/git-deps-graph.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index 02f64db..fc49b2f 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -141,6 +141,8 @@ function add_data(data) {
new_links += add_link(dep.parent, dep.child);
});
+ noty_info(data.root.commitish + " resolved as " + data.root.sha1);
+
if (new_nodes > 0 || new_links > 0) {
if (options.debug) {
noty_debug(new_nodes + " new node(s), " +
@@ -179,6 +181,10 @@ function noty_warn(text) {
notyfication('warning', text);
}
+function noty_info(text) {
+ notyfication('information', text);
+}
+
function noty_debug(text) {
notyfication('information', text);
}