Commit 3e92f6b
committed
pre-push: before pushing tags, need to be up to date with
Since the same push might include not only the tag, but also the local
`main` branch, and since the `pre-push` hook gets no information from
Git _what_ is about to be pushed, the best we can do about `origin/main`
is to _only_ warn if it is not up to date with the tag.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>main
1 parent 3049866 commit 3e92f6b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments