automated snapshot
This commit is contained in:
@@ -104,7 +104,11 @@ func (s *Storage) Save() (string, error) {
|
||||
if err != nil {
|
||||
s.log.Printf("Error getting working tree in a known clean state: %v", err)
|
||||
} else {
|
||||
s.log.Printf("Created commit %s on %s for snapshot %s", hash, branch, kid)
|
||||
if committed {
|
||||
s.log.Printf("Created commit %s on %s for snapshot %s", hash, branch, kid)
|
||||
} else {
|
||||
s.log.Printf("Referencing commit %s on %s for snapshot %s", hash, branch, kid)
|
||||
}
|
||||
}
|
||||
|
||||
_, err = s.db.Exec(`
|
||||
|
||||
Reference in New Issue
Block a user