Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 7/25] git-count-objects: Die with usage message if we are invoked incorrectly.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:14

freku045@student.liu.se writes:
quoted hunk
5db708396a841860c4d5e41c2acd60476d2207c4
diff --git a/git-count-objects.sh b/git-count-objects.sh
index 40c58ef..0d544ad 100755
--- a/git-count-objects.sh
+++ b/git-count-objects.sh
@@ -3,7 +3,16 @@
 # Copyright (c) 2005 Junio C Hamano
 #
 
-GIT_DIR=`git-rev-parse --git-dir` || exit $?
+. git-sh-setup
Not that it matters too much, but this makes count-object not
work from subdirectory.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help