forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commit50f763c
committed
Store path attribute on Diff object
If a file in a commit contains no changes (for example, if only thefile mode is changed) there will be no blob attached. This isusually where the filename is stored, so without it, the callingcontext can not tell what file was changed. Instead, alwaysstore a_path and b_path on the Diff object so that informationis available.1 parenta5e607e commit50f763c
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
| 171 | + | |
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
174 | 175 |
| |
175 | 176 |
| |
| 177 | + | |
176 | 178 |
| |
177 | 179 |
| |
178 | 180 |
| |
| |||
200 | 202 |
| |
201 | 203 |
| |
202 | 204 |
| |
203 |
| - | |
204 |
| - | |
| 205 | + | |
| 206 | + | |
205 | 207 |
| |
206 | 208 |
| |
207 | 209 |
| |
| |||
210 | 212 |
| |
211 | 213 |
| |
212 | 214 |
| |
| 215 | + | |
| 216 | + | |
| 217 | + | |
213 | 218 |
| |
214 | 219 |
| |
215 | 220 |
| |
|
0 commit comments
Comments
(0)