threads / patch / 1878

patch, 8 partscogito: Add deprecated_alias to cg-object-id

Subject: [PATCH 8/8] cogito: Add deprecated_alias to cg-object-id

## tl;dr

One message between Sep 20, 2005 and Sep 20, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Pavel Roskin· Sep 20, 2005, 02:29 UTC · lore
Add deprecated_alias to cg-object-id
List all old *-id scripts.
Show changes to cg-object-id +2 −0
diff --git a/cg-object-id b/cg-object-id
--- a/cg-object-id
+++ b/cg-object-id
@@ -25,10 +25,12 @@
 #	An ID resolving to a commit.
 
 USAGE="cg-object-id [-n | -p | -t] [OBJECT_ID]"
 
 . ${COGITO_LIB}cg-Xlib
+deprecated_alias cg-object-id commit-id cg-commit-id \
+	parent-id cg-parent-id tree-id cg-tree-id
 
 
 # Normalize argument.  The normalized SHA1 ID is put to $normid.
 # If type is known, it's put to $type.
 normalize_id()
-- 
Regards,
Pavel Roskin

← back to recent threads