# rejected updates/pushes can be found on remote

1 messages from 2010-08-09 to 2010-08-09. Participants: Richard Bronosky.
Thread: https://gitlist.dev/t/24675

## Richard Bronosky, 2010-08-09 04:54

Subject: rejected updates/pushes can be found on remote
Message-ID: <AANLkTingxD_VTpmMZ+u=KXtY16DjpksxmGGKuO0B219q@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTingxD_VTpmMZ%2Bu%3DKXtY16DjpksxmGGKuO0B219q%40mail.gmail.com

```
I don't know if this is evil or not. I just find it interesting. If
you have and update hook on the remote that returns non-zero,
rejecting a push, you can later find the hash (on the remote). I'm
glad it get to the remote because I do "git diff --name-only $2 $3" to
decide whether or not to accept. But, I wonder if most people are
aware that it hangs around until it is garbage collected. This could
potentially be an attack vector, or at least a liability. (Imagine
some IP troll uploading their code to you and subpoenaing your
server.)

-- 
.!# RichardBronosky #!.

```
