@@ -2680,16 +2680,23 @@ set ui_visualize_current [.mbar.repository index last]
.mbar.repository add command \
-label [mc "Edit .gitignore ..."] \
-command [list edit_ignore_file [file join $_gitworktree .gitignore]]
-if {[have_info_exclude]} {
- .mbar.repository add command \
- -label [mc "Edit project exclude file ..."] \
- -command [list edit_ignore_file [gitdir info exclude]]
-}
+.mbar.repository add command \
+ -label [mc "Edit project exclude file ..."] \
+ -command [list edit_ignore_file [gitdir info exclude]]
.mbar.repository add command \
-label [mc "Edit global exclude file ..."] \
-command [list edit_ignore_file [get_config core.excludesfile]]
.mbar.repository add separator
+.mbar.repository add command \
+ -label [mc "Edit .gitattributes ..."] \
+ -command [list editfile [file join $_gitworktree .gitattributes]]
+.mbar.repository add command \
+ -label [mc "Edit project attributes file ..."] \
+ -command [list editfile [gitdir info attributes]]
+.mbar.repository add separator
+
+
proc current_branch_write {args} {
global current_branch
.mbar.repository entryconf $::ui_browse_current \