navid/veins / commit

65360acd4617

Navid M <navidmomtahen@gmail.com> · 2026-11-28

parents: c161f7014d53

Browse files at this commit · Download source

all: add aliases here
--- a/xveins/src/cli.cpp+++ b/xveins/src/cli.cpp@@ -957,8 +957,7 @@         if (parent)             old_tree = parent->commit.root_tree;     }-    const std::size_t diff_count =-        render_diff(store, old_tree, loaded->commit.root_tree, false);+    const std::size_t diff_count = render_diff(store, old_tree, loaded->commit.root_tree, false);     std::cout.rdbuf(old_out);     if (diff_count > 0 && !all && stdout_is_terminal())         (void)run_pager(*root, rendered.str());@@ -2486,7 +2485,7 @@         show_show();     else if (cmd == "hash")         show_hash();-    else if (cmd == "diff")+    else if (cmd == "diff" || cmd == "d")         show_diff();     else if (cmd == "new")         show_new();@@ -2590,7 +2589,7 @@         return run_show(args);     if (cmd == "hash")         return run_hash(args);-    if (cmd == "diff")+    if (cmd == "diff" || cmd == "d")         return run_diff(args);     if (cmd == "new")         return run_new(args);