Skip to contentSkip to conversation

cogito: Add deprecated_alias to cg-object-id

PATCH In review Pavel Roskin 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Add deprecated_alias to cg-object-id

List all old *-id scripts.

cg-object-id +2 -0
@@ -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()
Signature · 2 lines
Regards,
Pavel Roskin