# Local Checkout fails using CLI, tar terminates with signal 13

**URL:** <https://discuss.circleci.com/t/local-checkout-fails-using-cli-tar-terminates-with-signal-13/28632>\
**Category:** Bug Reports\
**Created:** [February 26, 2019, 5:54pm UTC](https://discuss.circleci.com/t/local-checkout-fails-using-cli-tar-terminates-with-signal-13/28632 "2019-02-26T17:54:07Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![saveman71](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/saveman71/32/15518_2.png) [@saveman71](https://discuss.circleci.com/u/saveman71)\
**Post date:** [April 29, 2019, 2:34pm UTC](https://discuss.circleci.com/t/local-checkout-fails-using-cli-tar-terminates-with-signal-13/28632/10 "2019-04-29T14:34:04Z")

</div>

I can indeed (for now) locate the issue to the following command:

```
git ls-files -z | xargs -0 tar -c | tar -t -C ~/tmp-circleci

```

Signal 13 means the second tar is still reading and the first would be finished writing. (cf [https://stackoverflow.com/a/27903078/2367848](https://stackoverflow.com/a/27903078/2367848), which I guess you read as well)

Edit: this seems to work with a test repository with only 1 file (committed). The copy happens w/o error. Maybe a problematic file?

---

_[View the full topic](https://discuss.circleci.com/t/local-checkout-fails-using-cli-tar-terminates-with-signal-13/28632)._
