Plain wildcards `*` in .gitignore are considered a bad practice because they may cause unintended ignore of files. This commit replaces `*` with explicit lists of file names.
@@ -5,12 +5,6 @@
\#*#
*~
-/Runtime/*
-!/Runtime/Makefile
-!/Runtime/pal_loader
-/Jenkinsfiles/Jenkinsfile-*
-/Jenkinsfiles/JenkinsfileSGX-*
-
.lib
*.i
*.s
@@ -22,11 +16,13 @@ pal.map
*.a
*.o
*.so
+*.so.*
# python
*.pyc
# sgx
+*.manifest.sgx
*.sig
*.token
*.cached
@@ -0,0 +1,2 @@
+/Jenkinsfile-*
+/JenkinsfileSGX-*
@@ -1,3 +0,0 @@
-*.manifest
-*.manifest.sgx
-pal_loader
@@ -1,5 +1,9 @@
-/fork_latency
+/*.manifest
+
/manifest
+/pal_loader
+/fork_latency
/rpc_latency
/rpc_latency2
/sig_latency
@@ -1,15 +1,19 @@
-copy_mmap_rev
-copy_mmap_seq
-copy_mmap_whole
-copy_rev
-copy_seq
-copy_whole
-delete
-manifest
-open_close
-read_write
-seek_tell
-stat
-truncate
-*.xml
+/*.xml
+/manifest
+/copy_mmap_rev
+/copy_mmap_seq
+/copy_mmap_whole
+/copy_rev
+/copy_seq
+/copy_whole
+/delete
+/open_close
+/read_write
+/seek_tell
+/stat
+/truncate
/.cache
@@ -1,8 +1,8 @@
-*
-!.gitignore
-!*.c
-!*.cpp
-!*.py
-!*.sh
-!*.template
-!Makefile*
+/fork
+/helloworld
+/vfork
@@ -1,8 +1,56 @@
+/alarm
+/brk
+/clone
+/condvar
+/cpuinfo
+/dir
+/divzero
+/dup
+/epoll
+/epoll_socket
+/errno
+/exec_fork
+/file
+/fork_bomb
+/fork_exec
+/fs
+/futextest
+/get_time
+/helloworld_pthread
+/kill
+/malloc
+/meminfo
+/msg_create
+/msg_create_libos
+/msg_send
+/msg_send_libos
+/multiproc
+/multisleep
+/pause
+/pid_alloc
+/pid_kill
+/pipe
+/pipe_latency
+/readdir
+/rename
+/script
+/sem
+/sleep
+/socketpair
+/sqrt
+/start
+/sync
+/system
+/tcp
+/test_start_pthread_m
+/testfile
+/time
+/vfork_exec
@@ -1,8 +1,68 @@
+/.cache
+/abort
+/abort_multithread
+/bootstrap
+/bootstrap-c++
+/bootstrap_pie
+/bootstrap_static
+/epoll_wait_timeout
+/eventfd
+/exec
+/exec_invalid_args
+/exec_same
+/exec_victim
+/exit
+/exit_group
+/fdleak
+/file_check_policy
+/file_size
+/fopen_cornercases
+/fork_and_exec
+/fstat_cwd
+/futex
+/futex-timeout
+/futex_bitset
+/futex_requeue
+/futex_timeout
+/futex_wake_op
+/getcwd
+/getdents
+/getsockopt
+/host_root_fs
+/init_fail
+/large-mmap
+/large_dir_read
+/mmap-file
+/mprotect_file_fork
+/multi_pthread
+/openmp
+/poll
+/poll_many_types
+/ppoll
+/proc
+/proc-path
+/proc_cpuinfo
+/pselect
+/sched
+/select
+/shared_object
+/sigaltstack
+/sigprocmask
+/spinlock
+/stat_invalid_args
+/str_close_leak
+/syscall
+/tmp
+/tcp_ipv6_v6only
+/tcp_msg_peek
+/udp
+/unix
+/vfork_and_exec
@@ -1,2 +0,0 @@
-*.run
-.nfs*
@@ -1,8 +1,38 @@
+/*.tmp
+/..Bootstrap
+/AtomicMath
+/Attestation
+/AvxDisable
+/Bootstrap
+/Bootstrap2
+/Bootstrap3
+/Bootstrap7
+/Directory
+/Event
+/Exception
+/Exit
+/File
+/Hex
+/Memory
+/Misc
+/Pipe
+/Preload1.so
+/Preload2.so
+/Process
+/Process2
+/Process3
+/Semaphore
+/SendHandle
+/Socket
+/Symbols
+/Thread
+/Thread2
+/nonelf_binary
+/normalize_path
-/host_endian.h
-/pal
-/Makefile.Status
@@ -1,8 +1,30 @@
+/Cpuid
+/Failure
+/Fork
+/HandleSend
+/HelloWorld
+/Pie
+/Segment
+/Select
+/Server
+/Sleep
+/Tcp
+/Udp
+/Wait
+/Yield
+/test_file_0
+/test_file_1
+/test_file_2
@@ -0,0 +1,3 @@
+/pal-Linux
+/pal-Linux-SGX
+/pal_gdb-Linux-SGX