build@build:/storage/sw/hudson/jobs/libnet/workspace$ git checkout origin/master
HEAD is now at 987fc90... Memory bounds checking using electric fence.
build@build:/storage/sw/hudson/jobs/libnet/workspace$ git status
Not currently on any branch.
nothing to commit (working directory clean)
build@build:/storage/sw/hudson/jobs/libnet/workspace$ git describe
hudson-libnet-5
I can see why some might like this auto-tagging, but it should be optional.
When I clone and checkout origin/master: % git status
On branch master
nothing to commit (working directory clean) ~/s/libnet/libnet.git % git describe libnet-1.1.4-108-g987fc90
When this happens in hudson:
build@build:/storage/sw/hudson/jobs/libnet/workspace$ git checkout origin/master HEAD is now at 987fc90... Memory bounds checking using electric fence. build@build:/storage/sw/hudson/jobs/libnet/workspace$ git status
Not currently on any branch.
nothing to commit (working directory clean) build@build:/storage/sw/hudson/jobs/libnet/workspace$ git describe hudson-libnet-5
I can see why some might like this auto-tagging, but it should be optional.