Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Fix remote update by removing --progress flag
Browse files Browse the repository at this point in the history
The flag was wrongly added. It is only required for clone.

See #39
  • Loading branch information
jorinvo committed Oct 5, 2017
1 parent 2d01941 commit c539bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghbackup/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (c Config) backup(r repo) (int, bool, error) {
var cmd *exec.Cmd
if repoExists {
c.Log.Printf("Updating %s", r.Path)
cmd = exec.Command("git", "remote", "update", "--progress")
cmd = exec.Command("git", "remote", "update")
cmd.Dir = repoDir
} else {
c.Log.Printf("Cloning %s", r.Path)
Expand Down

0 comments on commit c539bc2

Please sign in to comment.