summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-04-03 08:43:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-03 08:43:40 -0700
commit67ff3d27f6f0ce8f095d807f6653d606d918e545 (patch)
tree91a9b17b843993aee967238528fd4f8e4990c7a7 /entry.c
parentMerge branch 'jk/fully-peeled-packed-ref' into maint-1.8.1 (diff)
parentt2003: work around path mangling issue on Windows (diff)
downloadtgif-67ff3d27f6f0ce8f095d807f6653d606d918e545.tar.xz
Merge branch 'jk/checkout-attribute-lookup' into maint-1.8.1
* jk/checkout-attribute-lookup: t2003: work around path mangling issue on Windows entry: fix filter lookup t2003: modernize style
Diffstat (limited to 'entry.c')
-rw-r--r--entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/entry.c b/entry.c
index 17a6bccec6..63c52edf60 100644
--- a/entry.c
+++ b/entry.c
@@ -145,7 +145,7 @@ static int write_entry(struct cache_entry *ce, char *path, const struct checkout
struct stat st;
if (ce_mode_s_ifmt == S_IFREG) {
- struct stream_filter *filter = get_stream_filter(path, ce->sha1);
+ struct stream_filter *filter = get_stream_filter(ce->name, ce->sha1);
if (filter &&
!streaming_write_entry(ce, path, filter,
state, to_tempfile,