diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-09-02 11:29:18 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-09-02 11:43:42 +0100 |
commit | 313be431afb27675e6874e896ec26f0e73922e5a (patch) | |
tree | 1bea0f405c7096e83def770b2c4b2b89a6ed0882 /dgit | |
parent | 332d678a9f20c7d805cd12df309226abac759e42 (diff) |
get_source_format: Just save format in callers that don't need options
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1922,7 +1922,7 @@ sub mktree_in_ud_from_only_subdir ($;$) { remove_stray_gits($what); mktree_in_ud_here(); if (!$raw) { - my ($format, $fopts) = get_source_format(); + my $format = get_source_format(); if (madformat($format)) { rmtree '.pc'; } @@ -5164,7 +5164,7 @@ sub cmd_pull { fetchpullargs(); determine_whether_split_brain get_source_format(); if (do_split_brain()) { - my ($format, $fopts) = get_source_format(); + my $format = get_source_format(); madformat($format) and fail f_ <<END, $quilt_mode dgit pull not yet supported in split view mode (including with view-splitting quilt modes) END |