]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-name.c
sha1_name: convert GET_SHA1* flags to GET_OID*
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 13 Jul 2017 23:49:29 +0000 (23:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Jul 2017 20:54:51 +0000 (13:54 -0700)
commit321c89bf5fa937b19800fa97cfe93199b817d34f
tree367e0ab590a1f182a42db30f8bd14316cef0322f
parente82caf384bb3c7f41ec5419de04e6493d7b0f4a5
sha1_name: convert GET_SHA1* flags to GET_OID*

Convert the flags for get_oid_with_context and friends to use "OID"
instead of "SHA1" in their names.

This transform was made by running the following one-liner on the
affected files:

  perl -pi -e 's/GET_SHA1/GET_OID/g'

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c
builtin/grep.c
builtin/log.c
builtin/rev-parse.c
cache.h
refs.c
revision.c
sha1_name.c