chiark / gitweb /
Only get the first line from 'git describe --all'
authorCatalin Marinas <catalin.marinas@gmail.com>
Fri, 31 Jul 2009 12:01:47 +0000 (13:01 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 31 Jul 2009 12:01:47 +0000 (13:01 +0100)
commit9876a650b27c7e3d4c4d14f48b8bb9112ac4c88c
tree79b916df5a6c8889ea08c52cbf8d3bef29a22307
parentefef7effe1ff66cd577cb295a02fd86769335c47
Only get the first line from 'git describe --all'

The Repository.describe() function is used by the 'publish' command. We
only need the first line of the description for the commit message
rather than the raw output (which contains a new line).

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/lib/git.py