1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-25 12:39:40 +08:00
parent a281411239
commit b1ac4e9b38

View File

@ -240,7 +240,7 @@ func _repos_status(m *ice.Message, p string, repos *git.Repository) error {
m.PushButton(COMMIT)
}
}
if p == path.Base(kit.Path("")) {
if !kit.IsIn(ice.USR_LOCAL_EXPORT, ignore...) && p == path.Base(kit.Path("")) {
var tree *object.Tree
if refer, err := repos.Head(); err == nil {
if commit, err := repos.CommitObject(refer.Hash()); err == nil {