From dd0447b9f88dadbe918f39c560ce5cc3f3d3c094 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 9 Nov 2017 11:17:27 -0500 Subject: [PATCH] debugging some git command threw an error result even with no visible errors, so now tracking down where. --- scripts/rev_control/version_control.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index c3e21b21..777e51b4 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -154,12 +154,15 @@ function do_checkin() # snag all new files. not to everyone's liking. git add --all . retval=$? +echo A: retval=$retval # tell git about all the files and get a check-in comment. git commit . retval+=$? +echo B: retval=$retval # upload the files to the server so others can see them. git push 2>&1 | grep -v "X11 forwarding request failed" retval+=$? +echo C: retval=$retval fi else echo no repository in $directory -- 2.34.1