You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
// this struct is internally used by the blame function to hold its
139
132
// inputs, outputs and state.
140
133
typeblamestruct {
141
-
repo*git.Repository// the repo holding the history of the file to blame
142
-
pathstring// the path of the file to blame
143
-
fRev*git.Commit// the commit of the final revision of the file to blame
144
-
revs revlist.Revs// the chain of revisions affecting the the file to blame
145
-
data []string// the contents of the file across all its revisions
146
-
graph [][]*git.Commit// the graph of the lines in the file across all the revisions TODO: not all commits are needed, only the current rev and the prev
134
+
pathstring// the path of the file to blame
135
+
fRev*Commit// the commit of the final revision of the file to blame
136
+
revs []*Commit// the chain of revisions affecting the the file to blame
137
+
data []string// the contents of the file across all its revisions
138
+
graph [][]*Commit// the graph of the lines in the file across all the revisions TODO: not all commits are needed, only the current rev and the prev
147
139
}
148
140
149
141
// calculte the history of a file "path", starting from commit "from", sorted by commit date.
0 commit comments