diff options
-rw-r--r-- | bin/git_gpush.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/git_gpush.pm b/bin/git_gpush.pm index 2eb2118..9fc7cf7 100644 --- a/bin/git_gpush.pm +++ b/bin/git_gpush.pm @@ -2104,7 +2104,7 @@ sub _source_map_finish_initial() } source_map_finish(); - save_state() if ($sm_changed); + save_state($dry_run) if ($sm_changed); } # Update the target branches of local Changes according to the data @@ -2159,7 +2159,7 @@ sub _update_target_branches($) # The Changes may be printed again later. delete $$_{annotation} foreach (@changed); } - save_state() if ($need_save); + save_state($dry_run) if ($need_save); } ####################### |