On 06/12/09 Paul Beckingham said:

> Vijay,
> Don't forget, you are not tagging files - a tag in git is just a synonym for
> a commit.  You are tagging a commit.  It is a question of whether that
> commit represents the "right" version of your files.

Indeed. If you wish to confirm this, you can do the following:

git ls-tree -r <tagname> | grep <my file>

Once you find the SHA-1 of the file in question you can view the contents.

git cat-file -p <blob sha>

Still, if the tag points at the right commit, then you should be good. You can
confirm that with

cat .git/refs/tags/<tag name>

Michael P. Soulier <msoul...@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Attachment: pgpGGUjP65eYs.pgp
Description: PGP signature

Reply via email to