]> arthur.barton.de Git - bup.git/commit
get: remove pointless git.repo() call
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 29 Dec 2020 22:28:34 +0000 (23:28 +0100)
committerRob Browning <rlb@defaultvalue.org>
Thu, 31 Dec 2020 20:35:18 +0000 (14:35 -0600)
commit6d58d372a7a1a37e01399d6d1fe38ceb4f60ea44
treea93c73909e3e606a852350184fc9ed8205bcdbf2
parent6d1dbe79f6796ac880a6789384740404cc11eedb
get: remove pointless git.repo() call

There's no point in doing "opt.source or git.repo()" since
we just pass the result to LocalRepo(), which already does
exactly the same thing.

Remove the src_dir variable entirely.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
lib/cmd/get-cmd.py