We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 17e6464 + 544c1e9 commit 3ba90d7Copy full SHA for 3ba90d7
deckhand.go
@@ -183,6 +183,7 @@ func sync() {
183
184
// initialize the remote git repo by pulling it. We will need to run this step first every time deck hand is init.
185
func gitPullMaster() {
186
+ log.Debug("Pulling From master repo")
187
r, err := git.PlainOpen(directory)
188
CheckIfError(err)
189
worktree, err := r.Worktree()
@@ -192,12 +193,15 @@ func gitPullMaster() {
192
193
pullerr := worktree.Pull(&git.PullOptions{
194
RemoteName: "origin",
195
Auth: auth,
196
+ Progress: os.Stdout,
197
})
198
199
if pullerr != nil {
200
errstr := pullerr.Error()
201
if errstr != "already up-to-date" {
202
log.Info(errstr)
203
+ } else {
204
+ log.Info("Pull Already up-to-date")
205
}
206
207
0 commit comments