Finding the tree version in the working directory

When using Gnu Arch, once in a while I need to verify that I am in the correct working directory. With long names, patches, and all those branches it is not always that obvious. The shortest way to find the version of the tree in the current working directory is:

tla logs -rf | head -1

2 thoughts on “Finding the tree version in the working directory”

  1. Here is the difference between the two:

    [leonid@ news intranet]$ tla tree-version
    [leonid@ news intranet]$ tla logs -rf | head -1

    I still prefer my version. ;)

Leave a Comment