git-backport: Read tree argument correctly
framsay reports that using the -t option results in a warning.
[prarit@prarit tip]$ git-backport -b 12345 -a -t /home/tree d812f7c475c6a4dcfff02a85fbfd7a9c87e6a094
Skipping: Bad commit ID: /home/tree
d812f7c475c6 Subject: x86/platform/uv: Update NMI Handler fo > /tmp/0001.diff
The code should not interpret the -t argument "/home/tree" as a commit ID.
Read the tree argument correctly.
Reported-by: Frank Ramsay framsay@redhat.com
Signed-off-by: Prarit Bhargava prarit@redhat.com
Edited by Prarit Bhargava