Branch: refs/heads/master

  Home:   https://github.com/jenkinsci/aws-codebuild-plugin

  Commit: 257eac6f4e3634d3ddbfee36dd9bb828e692c9f6

      
https://github.com/jenkinsci/aws-codebuild-plugin/commit/257eac6f4e3634d3ddbfee36dd9bb828e692c9f6

  Author: Kohei Suzuki <kohei-suz...@cookpad.com>

  Date:   2019-09-26 (Thu, 26 Sep 2019)



  Changed paths:

    M src/main/java/ZipSourceCallable.java

    M src/test/java/S3DataManagerTest.java



  Log Message:

  -----------

  Keep empty directories in zip file



Suppose we have the following directory structure.



```

% tree .

.

├── README.md

├── src

│   └── Main.java

└── tmp



2 directories, 2 files

```



I expect that the zip file used by CodeBuild contains empty "tmp"

directory, but it isn't.

More realistic example is .git/refs directory. When git packs refs,

.git/refs directory becomes empty but git actually requires .git/refs

directory. I suddenly encountered the following git error in CodeBuild

when git automatically packed refs.



```

fatal: not a git repository (or any parent up to mount point /codebuild)

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

```





-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/aws-codebuild-plugin/push/refs/heads/master/34c22d-257eac%40github.com.

Reply via email to