Junio C Hamano
cdbf623254
check-attr: move to the top of working tree when in non-bare repository
...
Lasse Makholm noticed that running "git check-attr" from a place
totally unrelated to $GIT_DIR and $GIT_WORK_TREE does not give
expected results. I think it is because the command does not say it
wants to call setup_work_tree().
We still need to support use cases where only a bare repository is
involved, so unconditionally requiring a working tree would not work
well. Instead, make a call only in a non-bare repository.
We may want to see if we want to do a similar fix in the opposite
direction to check-ignore. The command unconditionally requires a
working tree, but it should be usable in a bare repository just like
check-attr attempts to be.
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2014-02-06 10:19:33 -08:00
..
2012-09-14 11:53:53 -07:00
2012-09-12 14:08:05 -07:00
2012-08-22 12:02:28 -07:00
2012-08-20 12:23:15 -07:00
2012-09-24 12:40:02 -07:00
2012-10-18 14:36:17 -07:00
2011-09-19 11:07:21 -07:00
2012-09-10 15:31:06 -07:00
2014-02-06 10:19:33 -08:00
2011-10-05 13:45:30 -07:00
2012-08-22 12:02:28 -07:00
2012-11-15 17:36:26 -08:00
2012-08-20 12:23:16 -07:00
2012-10-08 11:34:02 -07:00
2012-08-20 12:23:16 -07:00
2012-07-23 20:55:54 -07:00
2012-10-08 11:34:34 -07:00
2012-11-25 18:35:46 -08:00
2012-08-20 12:23:16 -07:00
2012-06-25 11:56:24 -07:00
2012-08-20 12:23:16 -07:00
2012-09-11 10:53:40 -07:00
2012-08-20 12:23:16 -07:00
2012-09-12 11:46:32 -07:00
2012-09-24 12:39:21 -07:00
2012-08-20 12:23:17 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:17 -07:00
2012-09-27 17:57:26 -07:00
2012-11-18 19:32:30 -08:00
2012-08-20 12:23:17 -07:00
2012-08-20 12:23:17 -07:00
2012-08-31 13:05:05 -07:00
2012-08-20 12:23:17 -07:00
2012-09-14 21:24:18 -07:00
2012-08-20 12:23:18 -07:00
2012-09-07 10:58:35 -07:00
2012-08-20 12:23:18 -07:00
2012-12-07 14:10:56 -08:00
2012-09-11 11:36:05 -07:00
2012-08-20 12:23:18 -07:00
2012-09-11 10:53:40 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-09-15 22:58:20 -07:00
2012-08-20 12:23:18 -07:00
2012-12-13 11:13:44 -08:00
2012-08-20 12:23:19 -07:00
2011-09-22 09:35:07 -07:00
2012-08-20 12:23:19 -07:00
2012-09-14 11:53:53 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:19 -07:00
2012-10-01 12:58:34 -07:00
2012-06-07 11:49:16 -07:00
2012-11-26 13:27:45 -08:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2012-05-14 11:46:16 -07:00
2012-09-12 14:08:05 -07:00
2012-09-10 15:42:55 -07:00
2012-08-20 12:23:20 -07:00
2012-08-10 12:35:13 -07:00
2012-08-20 12:23:20 -07:00
2012-08-22 10:58:28 -07:00
2012-08-22 10:58:28 -07:00
2011-12-12 16:48:54 -08:00
2012-08-22 10:58:28 -07:00
2012-08-22 12:02:28 -07:00
2012-04-30 15:45:51 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 12:02:28 -07:00
2012-08-22 10:58:29 -07:00
2011-11-21 14:32:40 -08:00
2012-05-24 17:16:41 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 10:58:29 -07:00