Have push output only on error
[gq.git] / gq-next
bloba0c2d6a9b761d06b95f43ccd6471fb33b0fe675e
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006
6 source "`dirname $0`/gq.lib"
8 export GIT_DIR=`find_git_dir`
9 GQ_DIR="$GIT_DIR/patches"
11 branch=`get_branch_verify`
13 n=`wc -l < $GQ_DIR/$branch/status`
14 n=`expr $n + 1`
16 awk "{ if (NR == $n) print \$0}" < $GQ_DIR/$branch/series