(repo: &Repository, path: &str)
| 7 | use atomic_repository::{RecordOptions, Repository, StashPushOptions, StatusOptions}; |
| 8 | |
| 9 | fn record_path(repo: &Repository, path: &str) { |
| 10 | let wc = repo.require_working_copy_id().unwrap(); |
| 11 | repo.add(wc, path, Default::default()).unwrap(); |
| 12 | repo.record_with_message(wc, "base", RecordOptions::default()) |
| 13 | .unwrap(); |
| 14 | } |
| 15 | |
| 16 | #[test] |
| 17 | fn untracked_only_stash_preserves_executable_and_dangling_link() { |
no test coverage detected