Commit 9ed2eb2
sess: ignore synthetic bender-tmp-* tags in upstream-ref check
Tim's e3e9241 dropped the bender-tmp- filter from the
RevisionNotOnUpstream check on the assumption that the synthetic tags
were no longer created. They still are -- `dependency_versions`
creates them during update operations to make commits reachable for
`git rev-list --all`, and databases populated by bender 0.31.x also
contain leftover tmp tags from the old checkout flow. Without the
filter the warning was silently suppressed whenever such a tag pointed
at the revision being checked out, even when no real upstream ref
actually tracked the commit.
Restore the explicit filter. Marked as a TODO -- the longer-term fix
is to either stop creating these tags or sweep them after use; until
then the filter keeps the warning correct on every database shape
bender can encounter.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2409d87 commit 9ed2eb2
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
1227 | | - | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1228 | 1237 | | |
1229 | 1238 | | |
1230 | 1239 | | |
| |||
1240 | 1249 | | |
1241 | 1250 | | |
1242 | 1251 | | |
1243 | | - | |
| 1252 | + | |
1244 | 1253 | | |
1245 | 1254 | | |
1246 | 1255 | | |
| |||
0 commit comments