summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar Mark Rada <marada@uwaterloo.ca>2009-09-26 13:46:08 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2009-09-29 10:06:51 -0700
commitfdb0c36e903d13c184f9a465035c75565c5c072a (patch)
treec7deeda56ce7eb610db3ec4c44e671b96fe8203d /commit.c
parentbuiltin-mailinfo.c: check error status from rewind and ftruncate (diff)
downloadtgif-fdb0c36e903d13c184f9a465035c75565c5c072a.tar.xz
gitweb: check given hash before trying to create snapshot
Makes things nicer in cases when you hand craft the snapshot URL but make a typo in defining the hash variable (e.g. netx instead of next); you will now get an error message instead of a broken tarball. Tests for t9501 are included to demonstrate added functionality. Signed-off-by: Mark Rada <marada@uwaterloo.ca> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions